From c3840503c90b279ce0872ba3d1dad4793ba3015e Mon Sep 17 00:00:00 2001 From: tompng Date: Fri, 3 May 2024 13:23:12 +0900 Subject: [PATCH] Prompt assertion should use assert_raw_line_text instead of assert_line_text --- test/console/irb_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/console/irb_test.rb b/test/console/irb_test.rb index 857d02dfd..746f9acdb 100644 --- a/test/console/irb_test.rb +++ b/test/console/irb_test.rb @@ -47,7 +47,7 @@ def test_irb_command_switches_console_to_irb debug_code(program, remote: false) do type 'irb' type '123' - assert_line_text 'irb:rdbg(main):002> 123' + assert_raw_line_text 'irb:rdbg(main):002> 123' type 'irb_info' assert_line_text('IRB version:') type 'next' @@ -67,7 +67,7 @@ def test_irb_console_config_activates_irb debug_code(program, remote: false) do type '123' - assert_line_text 'irb:rdbg(main):002> 123' + assert_raw_line_text 'irb:rdbg(main):002> 123' type 'irb_info' assert_line_text('IRB version:') type 'next'