This commit is contained in:
Shreyas Goenka 2023-05-23 19:31:02 +02:00
parent 2c02fdf2fb
commit c02b280691
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ func TestValidatorBoolean(t *testing.T) {
assert.ErrorContains(t, err, "expected type boolean, but value is \"false\"")
}
func TestValidatorFloat(t *testing.T) {
func TestValidatorNumber(t *testing.T) {
err := validateNumber(true)
assert.ErrorContains(t, err, "expected type float, but value is true")