Skip to content

Commit e954a6f

Browse files
samyronbyroot
authored andcommitted
Update the json_minefield_parser_test.rb to remove JRUBY_PENDING as the new JRuby
parser successfully parsed those files.
1 parent a842a5c commit e954a6f

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

test/json/json_minefield_parser_test.rb

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,22 +11,10 @@ class << self
1111
private
1212

1313
def define_test(name, &block)
14-
if RUBY_ENGINE == 'jruby' && JRUBY_PENDING.include?(name)
15-
define_method("test_#{name}") do
16-
pend("#{name} doesn't pass on JRuby", &block)
17-
end
18-
else
19-
define_method("test_#{name}", &block)
20-
end
14+
define_method("test_#{name}", &block)
2115
end
2216
end
2317

24-
JRUBY_PENDING = %w(
25-
n_structure_open_array_object
26-
n_structure_100000_opening_arrays
27-
n_object_trailing_comment_slash_open
28-
).freeze
29-
3018
INVALID_ENCODING_TESTS = %w(
3119
i_string_truncated-utf-8
3220
i_string_overlong_sequence_6_bytes_null

0 commit comments

Comments
 (0)