mirror of https://github.com/docker/cli.git
fix t.Errorf to t.Error in serveral _test.go
Signed-off-by: wefine <wang.xiaoren@zte.com.cn>
This commit is contained in:
parent
7426b9d61b
commit
9806df060b
|
@ -50,7 +50,7 @@ func TestMapOpts(t *testing.T) {
|
||||||
t.Errorf("max-size = %s != 1", tmpMap["max-size"])
|
t.Errorf("max-size = %s != 1", tmpMap["max-size"])
|
||||||
}
|
}
|
||||||
if o.Set("dummy-val=3") == nil {
|
if o.Set("dummy-val=3") == nil {
|
||||||
t.Errorf("validator is not being called")
|
t.Error("validator is not being called")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue