Merge pull request #97749 from heqg/errorf-wrap

The code in TestNonePolicyName does not need to wrap, so fix it.
This commit is contained in:
Kubernetes Prow Robot
2021-01-06 12:02:04 -08:00
committed by GitHub

View File

@@ -28,8 +28,7 @@ func TestNonePolicyName(t *testing.T) {
policyName := policy.Name()
if policyName != "none" {
t.Errorf("NonePolicy Name() error. expected: none, returned: %v",
policyName)
t.Errorf("NonePolicy Name() error. expected: none, returned: %v", policyName)
}
}