Skip to content

Commit

Permalink
Fix rendering test broken by conflict (#1016)
Browse files Browse the repository at this point in the history
  • Loading branch information
tompng authored Oct 13, 2024
1 parent 2c2956b commit a21b953
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/irb/yamatanooroti/test_rendering.rb
Original file line number Diff line number Diff line change
Expand Up @@ -461,11 +461,9 @@ def test_debug_integration_doesnt_hint_debugger_commands_in_nomultiline_mode
start_terminal(40, 80, %W{ruby -I#{@pwd}/lib #{script.to_path}}, startup_message: 'start IRB')
write("debug\n")
write("pp 1")
close

screen = result.join("\n").sub(/\n*\z/, "\n")
# submitted input shouldn't contain hint
assert_include(screen, "irb:rdbg(main):002> pp 1\n")
assert_screen(/irb:rdbg\(main\):002> pp 1\n/)
close
ensure
File.unlink(script) if script
end
Expand Down

0 comments on commit a21b953

Please sign in to comment.