diff --git a/graph/path/a_star_test.go b/graph/path/a_star_test.go index f9328447..04671dc7 100644 --- a/graph/path/a_star_test.go +++ b/graph/path/a_star_test.go @@ -281,7 +281,7 @@ func TestAStarNullHeuristic(t *testing.T) { p, weight := pt.To(test.Query.To().ID()) if weight != test.Weight { - t.Errorf("%q: unexpected weight from Between: got:%f want:%f", + t.Errorf("%q: unexpected weight from To: got:%f want:%f", test.Name, weight, test.Weight) } if weight := pt.WeightTo(test.Query.To().ID()); weight != test.Weight { diff --git a/graph/path/bellman_ford_moore_test.go b/graph/path/bellman_ford_moore_test.go index 4c216a37..f477ac44 100644 --- a/graph/path/bellman_ford_moore_test.go +++ b/graph/path/bellman_ford_moore_test.go @@ -38,7 +38,7 @@ func TestBellmanFordFrom(t *testing.T) { p, weight := pt.To(test.Query.To().ID()) if weight != test.Weight { - t.Errorf("%q: unexpected weight from Between: got:%f want:%f", + t.Errorf("%q: unexpected weight from To: got:%f want:%f", test.Name, weight, test.Weight) } if weight := pt.WeightTo(test.Query.To().ID()); weight != test.Weight { diff --git a/graph/path/dijkstra_test.go b/graph/path/dijkstra_test.go index be13268c..7dd5bb9b 100644 --- a/graph/path/dijkstra_test.go +++ b/graph/path/dijkstra_test.go @@ -59,7 +59,7 @@ func TestDijkstraFrom(t *testing.T) { p, weight := pt.To(test.Query.To().ID()) if weight != test.Weight { - t.Errorf("%q %s: unexpected weight from Between: got:%f want:%f", + t.Errorf("%q %s: unexpected weight from To: got:%f want:%f", test.Name, tg.typ, weight, test.Weight) } if weight := pt.WeightTo(test.Query.To().ID()); weight != test.Weight {