[ruby/irb] Reduce test pend truffleruby
(https://github.com/ruby/irb/pull/619) https://github.com/ruby/irb/commit/b7b071774f
This commit is contained in:
parent
8f9d58a962
commit
78ecb93f9d
@ -473,7 +473,6 @@ module TestIRB
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_show_source_end_finder
|
def test_show_source_end_finder
|
||||||
pend if RUBY_ENGINE == 'truffleruby'
|
|
||||||
eval(code = <<-EOS, binding, __FILE__, __LINE__ + 1)
|
eval(code = <<-EOS, binding, __FILE__, __LINE__ + 1)
|
||||||
def show_source_test_method
|
def show_source_test_method
|
||||||
unless true
|
unless true
|
||||||
@ -490,7 +489,6 @@ module TestIRB
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_show_source_private_instance
|
def test_show_source_private_instance
|
||||||
pend if RUBY_ENGINE == 'truffleruby'
|
|
||||||
eval(code = <<-EOS, binding, __FILE__, __LINE__ + 1)
|
eval(code = <<-EOS, binding, __FILE__, __LINE__ + 1)
|
||||||
class PrivateInstanceTest
|
class PrivateInstanceTest
|
||||||
private def show_source_test_method
|
private def show_source_test_method
|
||||||
@ -510,7 +508,6 @@ module TestIRB
|
|||||||
|
|
||||||
|
|
||||||
def test_show_source_private
|
def test_show_source_private
|
||||||
pend if RUBY_ENGINE == 'truffleruby'
|
|
||||||
eval(code = <<-EOS, binding, __FILE__, __LINE__ + 1)
|
eval(code = <<-EOS, binding, __FILE__, __LINE__ + 1)
|
||||||
class PrivateTest
|
class PrivateTest
|
||||||
private def show_source_test_method
|
private def show_source_test_method
|
||||||
|
@ -598,7 +598,6 @@ module TestIRB
|
|||||||
end
|
end
|
||||||
|
|
||||||
def test_local_variables_dependent_code
|
def test_local_variables_dependent_code
|
||||||
pend if RUBY_ENGINE == 'truffleruby'
|
|
||||||
lines = ["a /1#/ do", "2"]
|
lines = ["a /1#/ do", "2"]
|
||||||
assert_indent_level(lines, 1)
|
assert_indent_level(lines, 1)
|
||||||
assert_code_block_open(lines, true)
|
assert_code_block_open(lines, true)
|
||||||
@ -707,7 +706,6 @@ module TestIRB
|
|||||||
end
|
end
|
||||||
|
|
||||||
def assert_dynamic_prompt(lines, expected_prompt_list)
|
def assert_dynamic_prompt(lines, expected_prompt_list)
|
||||||
pend if RUBY_ENGINE == 'truffleruby'
|
|
||||||
context = build_context
|
context = build_context
|
||||||
ruby_lex = RubyLex.new(context)
|
ruby_lex = RubyLex.new(context)
|
||||||
dynamic_prompt_executed = false
|
dynamic_prompt_executed = false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user