diff --git a/test/irb/yamatanooroti/test_rendering.rb b/test/irb/yamatanooroti/test_rendering.rb index 2bae7171c..9030f9657 100644 --- a/test/irb/yamatanooroti/test_rendering.rb +++ b/test/irb/yamatanooroti/test_rendering.rb @@ -8,7 +8,7 @@ return end -class IRB::TestRendering < Yamatanooroti::TestCase +class IRB::RenderingTest < Yamatanooroti::TestCase def setup @pwd = Dir.pwd suffix = '%010d' % Random.rand(0..65535) @@ -176,7 +176,6 @@ def test_symbol_with_backtick end def test_autocomplete_with_showdoc_in_gaps_on_narrow_screen_right - pend "Needs a dummy document to show doc" write_irbrc <<~'LINES' IRB.conf[:PROMPT][:MY_PROMPT] = { :PROMPT_I => "%03n> ", @@ -191,15 +190,14 @@ def test_autocomplete_with_showdoc_in_gaps_on_narrow_screen_right write("Str\C-i") close assert_screen(<<~EOC) + start IRB 001> String - StringPress A - StructString - of byte + StringPress O + StructString EOC end def test_autocomplete_with_showdoc_in_gaps_on_narrow_screen_left - pend "Needs a dummy document to show doc" write_irbrc <<~'LINES' IRB.conf[:PROMPT][:MY_PROMPT] = { :PROMPT_I => "%03n> ", @@ -214,10 +212,10 @@ def test_autocomplete_with_showdoc_in_gaps_on_narrow_screen_left write("Str\C-i") close assert_screen(<<~EOC) + start IRB 001> String PressString StrinStruct - of by EOC end