fix t.Errorf to t.Error in serveral _test.go

Signed-off-by: wefine <wang.xiaoren@zte.com.cn>
This commit is contained in:
wefine 2016-11-14 17:01:17 +08:00 committed by Vincent Demeester
parent 7426b9d61b
commit 9806df060b
1 changed files with 1 additions and 1 deletions

View File

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