From 87b3046d2a804ea39ef9cfa6201169f1356d93c0 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 25 May 2014 18:05:04 -0700 Subject: [PATCH] depgraph: fmt --- depgraph/graph.go | 2 +- depgraph/graph_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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()