From 64e156f20c9da2f7977c11bccbd492f66140437f Mon Sep 17 00:00:00 2001 From: ima1zumi <52617472+ima1zumi@users.noreply.github.com> Date: Sun, 21 May 2023 11:57:45 +0900 Subject: [PATCH] [ruby/irb] Fix typo (https://github.com/ruby/irb/pull/587) * Fix typo * s/braking/breaking/g Co-authored-by: Stan Lo --------- https://github.com/ruby/irb/commit/5f8e69f5f2 Co-authored-by: Stan Lo --- test/irb/test_ruby_lex.rb | 8 ++++---- 1 file 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()),