From 1b0dd7c3d80c90a2e7cca2f282b08790c7fa29f9 Mon Sep 17 00:00:00 2001 From: Jsor Date: Tue, 4 Feb 2014 17:12:09 -0700 Subject: [PATCH] Changed Fatal to Error in TestSmallAStar -- it lets us see all paths that go wrong instead of just the first one --- search/search_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/search_test.go b/search/search_test.go index 4f98c61b..8a5e90b9 100644 --- a/search/search_test.go +++ b/search/search_test.go @@ -131,7 +131,7 @@ func TestSmallAStar(t *testing.T) { fmt.Println() got := fmt.Sprintln(aPath, aCost) if got != exp { - t.Fatal("expected", exp, "got", got) + t.Error("expected", exp, "got", got) } t.Log(aPath, work) }