mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-13 05:02:50 +00:00
Fix format specifiers in Printf-type functions.
This commit is contained in:
@@ -49,7 +49,7 @@ func TestAuthenticateRequest(t *testing.T) {
|
||||
|
||||
<-success
|
||||
if len(context.requests) > 0 {
|
||||
t.Errorf("context should have no stored requests", context)
|
||||
t.Errorf("context should have no stored requests: %v", context)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ func TestAuthenticateRequestFailed(t *testing.T) {
|
||||
|
||||
<-failed
|
||||
if len(context.requests) > 0 {
|
||||
t.Errorf("context should have no stored requests", context)
|
||||
t.Errorf("context should have no stored requests: %v", context)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -97,6 +97,6 @@ func TestAuthenticateRequestError(t *testing.T) {
|
||||
|
||||
<-failed
|
||||
if len(context.requests) > 0 {
|
||||
t.Errorf("context should have no stored requests", context)
|
||||
t.Errorf("context should have no stored requests: %v", context)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user