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:
@@ -28,8 +28,7 @@ func TestNonePolicyName(t *testing.T) {
|
|||||||
|
|
||||||
policyName := policy.Name()
|
policyName := policy.Name()
|
||||||
if policyName != "none" {
|
if policyName != "none" {
|
||||||
t.Errorf("NonePolicy Name() error. expected: none, returned: %v",
|
t.Errorf("NonePolicy Name() error. expected: none, returned: %v", policyName)
|
||||||
policyName)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user