diff options
Diffstat (limited to 'test')
-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()), |