@@ -531,7 +531,7 @@ func Test_Validation_Leaflist_Min_Max(t *testing.T) {
531531
532532 t .Log (root .String ())
533533
534- validationResult := root .Validate (context .TODO (), validationConfig )
534+ validationResult , _ := root .Validate (context .TODO (), validationConfig )
535535
536536 // check if errors are received
537537 // If so, join them and return the cumulated errors
@@ -571,7 +571,7 @@ func Test_Validation_Leaflist_Min_Max(t *testing.T) {
571571 }
572572 }
573573
574- validationResult := root .Validate (context .TODO (), validationConfig )
574+ validationResult , _ := root .Validate (context .TODO (), validationConfig )
575575
576576 // check if errors are received
577577 // If so, join them and return the cumulated errors
@@ -617,7 +617,7 @@ func Test_Validation_Leaflist_Min_Max(t *testing.T) {
617617 }
618618 }
619619
620- validationResult := root .Validate (context .TODO (), validationConfig )
620+ validationResult , _ := root .Validate (context .TODO (), validationConfig )
621621
622622 // check if errors are received
623623 // If so, join them and return the cumulated errors
@@ -1213,7 +1213,7 @@ func Test_Validation_String_Pattern(t *testing.T) {
12131213 t .Error (err )
12141214 }
12151215
1216- validationResult := root .Validate (context .TODO (), validationConfig )
1216+ validationResult , _ := root .Validate (context .TODO (), validationConfig )
12171217
12181218 // check if errors are received
12191219 // If so, join them and return the cumulated errors
@@ -1250,7 +1250,7 @@ func Test_Validation_String_Pattern(t *testing.T) {
12501250 t .Error (err )
12511251 }
12521252
1253- validationResult := root .Validate (context .TODO (), validationConfig )
1253+ validationResult , _ := root .Validate (context .TODO (), validationConfig )
12541254
12551255 // check if errors are received
12561256 // If so, join them and return the cumulated errors
@@ -1346,7 +1346,7 @@ func Test_Validation_Deref(t *testing.T) {
13461346 t .Error (err )
13471347 }
13481348
1349- validationResult := root .Validate (context .TODO (), validationConfig )
1349+ validationResult , _ := root .Validate (context .TODO (), validationConfig )
13501350
13511351 // check if errors are received
13521352 // If so, join them and return the cumulated errors
0 commit comments