test support go1.18 (#2990)
This commit is contained in:
@@ -59,7 +59,7 @@ type structNoValidationValues struct {
|
||||
StructSlice []substructNoValidation
|
||||
InterfaceSlice []testInterface
|
||||
|
||||
UniversalInterface interface{}
|
||||
UniversalInterface any
|
||||
CustomInterface testInterface
|
||||
|
||||
FloatMap map[string]float32
|
||||
@@ -169,7 +169,7 @@ func TestValidateNoValidationPointers(t *testing.T) {
|
||||
//assert.Equal(t, origin, test)
|
||||
}
|
||||
|
||||
type Object map[string]interface{}
|
||||
type Object map[string]any
|
||||
|
||||
func TestValidatePrimitives(t *testing.T) {
|
||||
obj := Object{"foo": "bar", "bar": 1}
|
||||
|
||||
Reference in New Issue
Block a user