Skip to content

Commit

Permalink
pend local variable dependent test on truffleruby
Browse files Browse the repository at this point in the history
code_block_open is not working on truffleruby
  • Loading branch information
tompng committed Oct 5, 2022
1 parent 5da81d0 commit 084849a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/irb/test_ruby_lex.rb
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,7 @@ def test_do_corresponding_to_loop
end

def test_local_variables_dependent_code
pend if RUBY_ENGINE == 'truffleruby'
lines = ["a /1#/ do", "2"]
assert_nesting_level(lines, 1)
assert_code_block_open(lines, true)
Expand Down

0 comments on commit 084849a

Please sign in to comment.