diff --git a/depgraph/graph.go b/depgraph/graph.go index ab69aa655..fd0bb4220 100644 --- a/depgraph/graph.go +++ b/depgraph/graph.go @@ -116,7 +116,7 @@ func (g *Graph) String() string { " %s -> %s\n", dep.Source, dep.Target)) - } + } for _, n := range g.Nouns { buf.WriteString(fmt.Sprintf("%s\n", n.Name)) diff --git a/depgraph/graph_test.go b/depgraph/graph_test.go index e9d1dee9d..92b7cc5f7 100644 --- a/depgraph/graph_test.go +++ b/depgraph/graph_test.go @@ -62,9 +62,9 @@ c -> d c -> e`) g := &Graph{ - Name: "Test", + Name: "Test", Nouns: NounMapToList(nodes), - Root: nodes["a"], + Root: nodes["a"], } actual := g.String()