From 16b4428043d45422c62e64da15dfbccac1c93cfc Mon Sep 17 00:00:00 2001 From: Tamer Tas Date: Mon, 10 Aug 2015 20:44:36 +0300 Subject: [PATCH] Fix usage of format specifier %s --- pkg/apiserver/validator_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/apiserver/validator_test.go b/pkg/apiserver/validator_test.go index 5dcd268162..9f3420a5d7 100644 --- a/pkg/apiserver/validator_test.go +++ b/pkg/apiserver/validator_test.go @@ -89,7 +89,7 @@ func TestValidate(t *testing.T) { t.Errorf("expected empty string, got %s", status) } if status != test.expectedStatus { - t.Errorf("expected %s, got %s", test.expectedStatus.String(), status.String()) + t.Errorf("expected %s, got %s", test.expectedStatus, status) } } }