diff --git a/pkg/apiserver/validator_test.go b/pkg/apiserver/validator_test.go index 5dcd2681624..9f3420a5d7f 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) } } }