Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/debug/breakpoint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions test/console/debugger_local_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion test/console/outline_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion test/console/print_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down