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:
wefine
2016-11-14 17:01:17 +08:00
committed by Vincent Demeester
parent 283b152e13
commit 8543a49ef3

View File

@ -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")
}
}