diff --git a/components/cli/opts/opts_test.go b/components/cli/opts/opts_test.go index 9f41e47864..46cb9e0b03 100644 --- a/components/cli/opts/opts_test.go +++ b/components/cli/opts/opts_test.go @@ -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") } }