From 1c902e8955e9f55ba9e0e9d6c3cd2c91b516f5bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chris=20Ram=C3=B3n?= Date: Thu, 26 Nov 2015 23:20:12 -0500 Subject: [PATCH] fixes for go vet --- executor_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/executor_test.go b/executor_test.go index 05bd0a94..e643f31e 100644 --- a/executor_test.go +++ b/executor_test.go @@ -1178,7 +1178,7 @@ func TestQuery_ExecutionDoesNotAddErrorsFromFieldResolveFn(t *testing.T) { RequestString: query, }) if len(result.Errors) != 0 { - t.Fatal("wrong result, unexpected errors: %+v", result.Errors) + t.Fatalf("wrong result, unexpected errors: %+v", result.Errors) } } @@ -1289,6 +1289,6 @@ func TestMutation_ExecutionDoesNotAddErrorsFromFieldResolveFn(t *testing.T) { RequestString: query, }) if len(result.Errors) != 0 { - t.Fatal("wrong result, expected errors, got no errors") + t.Fatalf("wrong result, unexpected errors: %+v", result.Errors) } }