File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -173,11 +173,12 @@ def test_anonymous
173
173
end
174
174
175
175
def test_withinspect
176
+ omit if RUBY_ENGINE == "jruby"
176
177
a = [ ]
177
178
a << HasInspect . new ( a )
178
179
assert_equal ( "[<inspect:[...]>]\n " , PP . pp ( a , '' . dup ) )
179
180
assert_equal ( "#{ a . inspect } \n " , PP . pp ( a , '' . dup ) )
180
- end unless RUBY_VERSION < "2.7" # temporary mask to test on JRuby 9.3 (2.6 equivalent)
181
+ end
181
182
182
183
def test_share_nil
183
184
begin
@@ -197,6 +198,7 @@ def test_hash
197
198
end
198
199
199
200
def test_hash_in_array
201
+ omit if RUBY_ENGINE == "jruby"
200
202
assert_equal ( "[{}]" , PP . singleline_pp ( [ -> ( *a ) { a . last . clear } . ruby2_keywords . call ( a : 1 ) ] , '' . dup ) )
201
203
assert_equal ( "[{}]" , PP . singleline_pp ( [ Hash . ruby2_keywords_hash ( { } ) ] , '' . dup ) )
202
204
end
You can’t perform that action at this time.
0 commit comments