Skip to content

Commit

Permalink
[ruby/irb] Reduce test pend truffleruby
Browse files Browse the repository at this point in the history
  • Loading branch information
tompng authored and matzbot committed Jun 28, 2023
1 parent 8f9d58a commit 78ecb93
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions test/irb/test_cmd.rb
Expand Up @@ -473,7 +473,6 @@ def test_show_source_alias
end

def test_show_source_end_finder
pend if RUBY_ENGINE == 'truffleruby'
eval(code = <<-EOS, binding, __FILE__, __LINE__ + 1)
def show_source_test_method
unless true
Expand All @@ -490,7 +489,6 @@ def show_source_test_method
end

def test_show_source_private_instance
pend if RUBY_ENGINE == 'truffleruby'
eval(code = <<-EOS, binding, __FILE__, __LINE__ + 1)
class PrivateInstanceTest
private def show_source_test_method
Expand All @@ -510,7 +508,6 @@ class PrivateInstanceTest


def test_show_source_private
pend if RUBY_ENGINE == 'truffleruby'
eval(code = <<-EOS, binding, __FILE__, __LINE__ + 1)
class PrivateTest
private def show_source_test_method
Expand Down
2 changes: 0 additions & 2 deletions test/irb/test_ruby_lex.rb
Expand Up @@ -598,7 +598,6 @@ def test_do_corresponding_to_loop
end

def test_local_variables_dependent_code
pend if RUBY_ENGINE == 'truffleruby'
lines = ["a /1#/ do", "2"]
assert_indent_level(lines, 1)
assert_code_block_open(lines, true)
Expand Down Expand Up @@ -707,7 +706,6 @@ def dynamic_prompt(&block)
end

def assert_dynamic_prompt(lines, expected_prompt_list)
pend if RUBY_ENGINE == 'truffleruby'
context = build_context
ruby_lex = RubyLex.new(context)
dynamic_prompt_executed = false
Expand Down

0 comments on commit 78ecb93

Please sign in to comment.