Fix usage of format specifier %s

This commit is contained in:
Tamer Tas 2015-08-10 20:44:36 +03:00
parent be7c223043
commit 16b4428043

View File

@ -89,7 +89,7 @@ func TestValidate(t *testing.T) {
t.Errorf("expected empty string, got %s", status) t.Errorf("expected empty string, got %s", status)
} }
if status != test.expectedStatus { if status != test.expectedStatus {
t.Errorf("expected %s, got %s", test.expectedStatus.String(), status.String()) t.Errorf("expected %s, got %s", test.expectedStatus, status)
} }
} }
} }