From 2bbd1d424dbf326c7bd522ee8d1c2b81bfd406bf Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Mon, 10 Apr 2017 06:05:03 -0400 Subject: [PATCH] go vet --- common_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common_test.go b/common_test.go index 7c291d6..bc1270c 100644 --- a/common_test.go +++ b/common_test.go @@ -46,7 +46,7 @@ func TestStatusCodeMeaning(t *testing.T) { s.Code = 999 if meaning, err := s.CodeMeaning(); len(meaning) != 0 || err == nil { - t.Fatalf("Status.CodeMeaning unexpectedly succeeded with invalid Code\n", err) + t.Fatalf("Status.CodeMeaning unexpectedly succeeded with invalid Code\n") } } @@ -61,6 +61,6 @@ func TestStatusCodeConditions(t *testing.T) { s.Code = 999 if conditions, err := s.CodeConditions(); len(conditions) != 0 || err == nil { - t.Fatalf("Status.CodeConditions unexpectedly succeeded with invalid Code\n", err) + t.Fatalf("Status.CodeConditions unexpectedly succeeded with invalid Code\n") } }