diff --git a/test/custom_format_test.rb b/test/custom_format_test.rb index 44b47b1b..ce887925 100644 --- a/test/custom_format_test.rb +++ b/test/custom_format_test.rb @@ -113,7 +113,7 @@ def test_override_default_format data['a'] = '42' JSON::Validator.register_format_validator('ipv6', @format_proc, [version]) - assert(JSON::Validator.validate(schema, data), "#{prefix} succeeds with overriden default format and correct data") + assert(JSON::Validator.validate(schema, data), "#{prefix} succeeds with overridden default format and correct data") JSON::Validator.deregister_format_validator('ipv6', [version]) data['a'] = '2001:db8:85a3:0:0:8a2e:370:7334'