fix t.Errorf to t.Error in serveral _test.go
Signed-off-by: wefine <wang.xiaoren@zte.com.cn>
This commit is contained in:
committed by
Vincent Demeester
parent
7426b9d61b
commit
9806df060b
+1
-1
@@ -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