Skip to content

Commit 181396c

Browse files
committed
Don't omit test_parse_error_snippet on TruffleRuby
1 parent b237211 commit 181396c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/json/json_parser_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@ def test_parse_error_incomplete_hash
862862
end
863863

864864
def test_parse_error_snippet
865-
omit "JRuby errors don't contain positions" unless RUBY_ENGINE == "ruby"
865+
omit "JRuby errors don't contain positions" if RUBY_ENGINE == "jruby"
866866

867867
error = assert_raise(JSON::ParserError) { JSON.parse("あああああああああああああああああああああああ") }
868868
assert_equal "unexpected character: 'ああああああああああ' at line 1 column 1", error.message

0 commit comments

Comments
 (0)