test support go1.18 (#2990)
This commit is contained in:
@@ -54,7 +54,7 @@ func TestDefaultValidator(t *testing.T) {
|
||||
tests := []struct {
|
||||
name string
|
||||
v *defaultValidator
|
||||
obj interface{}
|
||||
obj any
|
||||
wantErr bool
|
||||
}{
|
||||
{"validate nil obj", &defaultValidator{}, nil, false},
|
||||
|
||||
Reference in New Issue
Block a user