[ruby/irb] Fix typos in test/irb/command/test_custom_command.rb

(https://github.com/ruby/irb/pull/945)

https://github.com/ruby/irb/commit/f2b5fc192f
This commit is contained in:
Kenichi Kamiya 2024-05-04 06:34:29 +09:00 committed by git
parent d4a6d0c177
commit 70db150fbc

View File

@ -5,7 +5,7 @@ require_relative "../helper"
module TestIRB
class CustomCommandIntegrationTest < TestIRB::IntegrationTestCase
def test_command_regsitration_can_happen_after_irb_require
def test_command_registration_can_happen_after_irb_require
write_ruby <<~RUBY
require "irb"
require "irb/command"
@ -32,7 +32,7 @@ module TestIRB
assert_include(output, "Hello from PrintCommand")
end
def test_command_regsitration_accepts_string_too
def test_command_registration_accepts_string_too
write_ruby <<~RUBY
require "irb/command"
@ -58,7 +58,7 @@ module TestIRB
assert_include(output, "Hello from PrintCommand")
end
def test_arguments_propogation
def test_arguments_propagation
write_ruby <<~RUBY
require "irb/command"