mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
The code in TestNonePolicyName does not need to wrap, so fix it.
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn>
This commit is contained in:
parent
ff4234720d
commit
8826d12bb0
@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user