multi: rename MakeTestGraphNew to MakeTestGraph
This commit is contained in:
7 files changed
+46
-46
No files matched your search
+2
-2
@@ -594,7 +594,7 @@ func (c *ChannelGraph) UpdateEdgePolicy(ctx context.Context,
|
||||
return nil
|
||||
}
|
||||
|
||||
// MakeTestGraphNew creates a new instance of the ChannelGraph for testing
|
||||
// MakeTestGraph creates a new instance of the ChannelGraph for testing
|
||||
// purposes. The backing V1Store implementation depends on the version of
|
||||
// NewTestDB included in the current build.
|
||||
//
|
||||
@@ -603,7 +603,7 @@ func (c *ChannelGraph) UpdateEdgePolicy(ctx context.Context,
|
||||
// implemented, unit tests will be switched to use this function instead of
|
||||
// the existing MakeTestGraph helper. Once only this function is used, the
|
||||
// existing MakeTestGraph function will be removed and this one will be renamed.
|
||||
func MakeTestGraphNew(t testing.TB,
|
||||
func MakeTestGraph(t testing.TB,
|
||||
opts ...ChanGraphOption) *ChannelGraph {
|
||||
|
||||
t.Helper()
|
||||
|
||||
Reference in new issue
Block a user