From e037c57725fe7d0b5d333b6bec6e750e49da1539 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Sun, 20 Sep 2020 22:47:57 +1000 Subject: [PATCH] postfix wip! --- test/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/utils.go b/test/utils.go index 25093e2..de62151 100644 --- a/test/utils.go +++ b/test/utils.go @@ -50,7 +50,7 @@ func AssertResult(t *testing.T, expectedValue interface{}, actualValue interface func AssertResultComplex(t *testing.T, expectedValue interface{}, actualValue interface{}) { t.Helper() if !reflect.DeepEqual(expectedValue, actualValue) { - t.Error("Expected <", expectedValue, "> but got <", actualValue, ">", fmt.Sprintf("%T", actualValue)) + t.Error("\nExpected <", expectedValue, ">\nbut got <", actualValue, ">", fmt.Sprintf("%T", actualValue)) } }