fix t.Errorf to t.Error in serveral _test.go
Signed-off-by: wefine <wang.xiaoren@zte.com.cn>
Upstream-commit: 9806df060b
Component: cli
This commit is contained in:
committed by
Vincent Demeester
parent
283b152e13
commit
8543a49ef3
@ -50,7 +50,7 @@ func TestMapOpts(t *testing.T) {
|
||||
t.Errorf("max-size = %s != 1", tmpMap["max-size"])
|
||||
}
|
||||
if o.Set("dummy-val=3") == nil {
|
||||
t.Errorf("validator is not being called")
|
||||
t.Error("validator is not being called")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user