From 6d4b79e44f12525a026c1013ee8a691c0c72efc9 Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Tue, 21 Jun 2022 20:02:29 +0900 Subject: [PATCH 1/5] s/protocols/procotols/ --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 0211a9454..e6ff4baa9 100644 --- a/Rakefile +++ b/Rakefile @@ -40,7 +40,7 @@ Rake::TestTask.new(:test_console) do |t| t.test_files = FileList["test/console/*_test.rb", "test/*_test.rb"] end -desc "Run all debugger procotols (CAP & DAP) related tests" +desc "Run all debugger protocols (CAP & DAP) related tests" Rake::TestTask.new(:test_protocol) do |t| t.test_files = FileList["test/protocol/*_test.rb"] end From 08b3211577c075117bccb2512aaea71f131427a6 Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Tue, 21 Jun 2022 20:05:16 +0900 Subject: [PATCH 2/5] s/actiavated/activated/ --- lib/debug/breakpoint.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/debug/breakpoint.rb b/lib/debug/breakpoint.rb index 99b449e7a..8bcc66568 100644 --- a/lib/debug/breakpoint.rb +++ b/lib/debug/breakpoint.rb @@ -206,7 +206,7 @@ def activate_exact iseq, events, line when events.include?(:RUBY_EVENT_END) activate(iseq, :end, line) else - # not actiavated + # not activated end end From 64fd10d93347185c720ce856e1c315f28b5f30b6 Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Tue, 21 Jun 2022 20:08:52 +0900 Subject: [PATCH 3/5] s/defiend/defined/ --- test/console/debugger_local_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/console/debugger_local_test.rb b/test/console/debugger_local_test.rb index 62e65425d..0743c8e42 100644 --- a/test/console/debugger_local_test.rb +++ b/test/console/debugger_local_test.rb @@ -94,7 +94,7 @@ def test_raised_doesnt_leak_to_program_binding assert_line_text(/ZeroDivisionError/) type "c" - # stops for NoMethodError because _raised is not defiend in the program + # stops for NoMethodError because _raised is not defined in the program type "_raised" assert_line_text(/NameError: undefined local variable or method `_raised' for main:Object/) type "c" @@ -153,7 +153,7 @@ def test_raised_doesnt_leak_to_program_binding type "_return + 'bar'" assert_line_text(/"foobar"/) type "c" - # stops for NoMethodError because _return is not defiend in the program + # stops for NoMethodError because _return is not defined in the program type "_raised" assert_line_text(/NameError: undefined local variable or method `_return' for main:Object/) type "c" From 4d6b1653e4565617cd732d8899d85b79a10f3305 Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Tue, 21 Jun 2022 20:10:04 +0900 Subject: [PATCH 4/5] s/alisases/aliases/ --- test/console/outline_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/console/outline_test.rb b/test/console/outline_test.rb index 9ff1143fa..3331fc00e 100644 --- a/test/console/outline_test.rb +++ b/test/console/outline_test.rb @@ -56,7 +56,7 @@ def test_outline_lists_class_info end end - def test_outline_alisases + def test_outline_aliases debug_code(program) do type 'c' type 'outline' From 69ebac251098875225676d58b412973c4b28ff77 Mon Sep 17 00:00:00 2001 From: ydah <13041216+ydah@users.noreply.github.com> Date: Tue, 21 Jun 2022 20:10:43 +0900 Subject: [PATCH 5/5] s/Inpsection/Inspection/ --- test/console/print_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/console/print_test.rb b/test/console/print_test.rb index 30b68fd7d..52d4d47d0 100644 --- a/test/console/print_test.rb +++ b/test/console/print_test.rb @@ -30,7 +30,7 @@ def test_pp_pretty_prints_the_expression end end - class InpsectionFailureTest < TestCase + class InspectionFailureTest < TestCase def program <<~RUBY 1| f = Object.new