Skip to content

Commit

Permalink
Update rendering test for preparing inspect message
Browse files Browse the repository at this point in the history
  • Loading branch information
tompng committed Jan 12, 2025
1 parent d5132d7 commit 46abb59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/irb/yamatanooroti/test_rendering.rb
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def test_pretty_print_preview_with_slow_inspect
write("o2 = Object.new; def o2.inspect; sleep 10; end\n")
# preview should be shown even if pretty_print is not completed.
write("[o1] * 20 + [o2]\n")
assert_screen(/=>\n\[INSPECT,\n( INSPECT,\n){6}Inspecting.../)
assert_screen(/=>\n\[INSPECT,\n( INSPECT,\n){6}Preparing full inspection value\.\.\./)
write("\C-c") # abort pretty_print
write("'foo' + 'bar'\n") # eval something to make sure IRB resumes
assert_screen(/foobar/)
Expand Down

0 comments on commit 46abb59

Please sign in to comment.