Index: go/testutils/testutils.go |
diff --git a/go/testutils/testutils.go b/go/testutils/testutils.go |
index 23fbf26669576a4c20f26cd42e4ee96a5636cace..d6485f4bf63ae9a2095499adde3e1a0dfca623e7 100644 |
--- a/go/testutils/testutils.go |
+++ b/go/testutils/testutils.go |
@@ -26,7 +26,7 @@ func SkipIfShort(t *testing.T) { |
// AssertDeepEqual fails the test if the two objects do not pass reflect.DeepEqual. |
func AssertDeepEqual(t *testing.T, a, b interface{}) { |
if !reflect.DeepEqual(a, b) { |
- t.Fatalf("Objects to not match: \na:\n%s\n\nb:\n%s\n", spew.Sprint(a), spew.Sprint(b)) |
+ assert.FailNow(t, fmt.Sprintf("Objects do not match: \na:\n%s\n\nb:\n%s\n", spew.Sprint(a), spew.Sprint(b))) |
} |
} |