Changed Fatal to Error in TestSmallAStar -- it lets us see all paths that go wrong instead of just the first one

This commit is contained in:
Jsor
2014-02-04 17:12:09 -07:00
parent 89d22f3c3e
commit 1b0dd7c3d8

View File

@@ -131,7 +131,7 @@ func TestSmallAStar(t *testing.T) {
fmt.Println() fmt.Println()
got := fmt.Sprintln(aPath, aCost) got := fmt.Sprintln(aPath, aCost)
if got != exp { if got != exp {
t.Fatal("expected", exp, "got", got) t.Error("expected", exp, "got", got)
} }
t.Log(aPath, work) t.Log(aPath, work)
} }