summaryrefslogtreecommitdiff
path: root/test/json/json_ext_parser_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/json/json_ext_parser_test.rb')
-rw-r--r--test/json/json_ext_parser_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/json/json_ext_parser_test.rb b/test/json/json_ext_parser_test.rb
index e610f642f1..d585b8d0dc 100644
--- a/test/json/json_ext_parser_test.rb
+++ b/test/json/json_ext_parser_test.rb
@@ -26,7 +26,7 @@ class JSONExtParserTest < Test::Unit::TestCase
ex = assert_raise(ParserError) { parse('-Infinity something') }
unless RUBY_PLATFORM =~ /java/
- assert_equal "unexpected token '-Infinity' at line 1 column 1", ex.message
+ assert_equal "invalid number: '-Infinity' at line 1 column 1", ex.message
end
ex = assert_raise(ParserError) { parse('NaN something') }