diff options
author | ima1zumi <52617472+ima1zumi@users.noreply.github.com> | 2023-05-21 11:57:45 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-05-21 02:57:50 +0000 |
commit | 64e156f20c9da2f7977c11bccbd492f66140437f (patch) | |
tree | f51d04a10f6fd918b2e915323b841ff95ea51f79 | |
parent | a997f144fb09f0ccb1662d79bd634833187770d7 (diff) |
[ruby/irb] Fix typo (https://github.com/ruby/irb/pull/587)
* Fix typo
* s/braking/breaking/g
Co-authored-by: Stan Lo <stan001212@gmail.com>
---------
https://github.com/ruby/irb/commit/5f8e69f5f2
Co-authored-by: Stan Lo <stan001212@gmail.com>
-rw-r--r-- | test/irb/test_ruby_lex.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/irb/test_ruby_lex.rb b/test/irb/test_ruby_lex.rb index e2a471c1be..1530a16d6a 100644 --- a/test/irb/test_ruby_lex.rb +++ b/test/irb/test_ruby_lex.rb @@ -658,7 +658,7 @@ module TestIRB assert dynamic_prompt_executed, "dynamic_prompt's assertions were not executed." end - def test_dyanmic_prompt + def test_dynamic_prompt input_with_prompt = [ PromptRow.new('001:1: :* ', %q(def hoge)), PromptRow.new('002:1: :* ', %q( 3)), @@ -670,7 +670,7 @@ module TestIRB assert_dynamic_prompt(lines, expected_prompt_list) end - def test_dyanmic_prompt_with_double_newline_braking_code + def test_dynamic_prompt_with_double_newline_breaking_code input_with_prompt = [ PromptRow.new('001:1: :* ', %q(if true)), PromptRow.new('002:1: :* ', %q(%)), @@ -684,7 +684,7 @@ module TestIRB assert_dynamic_prompt(lines, expected_prompt_list) end - def test_dyanmic_prompt_with_multiline_literal + def test_dynamic_prompt_with_multiline_literal input_with_prompt = [ PromptRow.new('001:1: :* ', %q(if true)), PromptRow.new('002:1:]:* ', %q( %w[)), @@ -702,7 +702,7 @@ module TestIRB assert_dynamic_prompt(lines, expected_prompt_list) end - def test_dyanmic_prompt_with_blank_line + def test_dynamic_prompt_with_blank_line input_with_prompt = [ PromptRow.new('001:0:]:* ', %q(%w[)), PromptRow.new('002:0:]:* ', %q()), |