From 5581994dfcc0e5e7ceccc130d2d41a9f81b28e4a Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Tue, 5 Dec 2023 18:53:30 +0000 Subject: [PATCH] Fix typo --- lib/debug/session.rb | 2 +- test/console/irb_test.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/debug/session.rb b/lib/debug/session.rb index 8bddae254..3d973c3d2 100644 --- a/lib/debug/session.rb +++ b/lib/debug/session.rb @@ -941,7 +941,7 @@ def register_default_command # * Invoke `irb` on the current frame. register_command 'irb' do |arg| if @ui.remote? - @ui.puts "\nIRB is supported on the remote console." + @ui.puts "\nIRB is not supported on the remote console." :retry else request_eval :irb, nil diff --git a/test/console/irb_test.rb b/test/console/irb_test.rb index 533ca733f..478a37036 100644 --- a/test/console/irb_test.rb +++ b/test/console/irb_test.rb @@ -23,7 +23,7 @@ def program def test_irb_command_is_disabled_in_remote_mode debug_code(program, remote: :remote_only) do type 'irb' - assert_line_text 'IRB is supported on the remote console.' + assert_line_text 'IRB is not supported on the remote console.' type 'q!' end end