Skip to content

Commit a21b953

Browse files
authored
Fix rendering test broken by conflict (#1016)
1 parent 2c2956b commit a21b953

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/irb/yamatanooroti/test_rendering.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -461,11 +461,9 @@ def test_debug_integration_doesnt_hint_debugger_commands_in_nomultiline_mode
461461
start_terminal(40, 80, %W{ruby -I#{@pwd}/lib #{script.to_path}}, startup_message: 'start IRB')
462462
write("debug\n")
463463
write("pp 1")
464-
close
465-
466-
screen = result.join("\n").sub(/\n*\z/, "\n")
467464
# submitted input shouldn't contain hint
468-
assert_include(screen, "irb:rdbg(main):002> pp 1\n")
465+
assert_screen(/irb:rdbg\(main\):002> pp 1\n/)
466+
close
469467
ensure
470468
File.unlink(script) if script
471469
end

0 commit comments

Comments
 (0)