Skip to content

Commit 64e156f

Browse files
ima1zumist0012
authored andcommitted
[ruby/irb] Fix typo (ruby/irb#587)
* Fix typo * s/braking/breaking/g Co-authored-by: Stan Lo <stan001212@gmail.com> --------- ruby/irb@5f8e69f5f2 Co-authored-by: Stan Lo <stan001212@gmail.com>
1 parent a997f14 commit 64e156f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/irb/test_ruby_lex.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ def assert_dynamic_prompt(lines, expected_prompt_list)
658658
assert dynamic_prompt_executed, "dynamic_prompt's assertions were not executed."
659659
end
660660

661-
def test_dyanmic_prompt
661+
def test_dynamic_prompt
662662
input_with_prompt = [
663663
PromptRow.new('001:1: :* ', %q(def hoge)),
664664
PromptRow.new('002:1: :* ', %q( 3)),
@@ -670,7 +670,7 @@ def test_dyanmic_prompt
670670
assert_dynamic_prompt(lines, expected_prompt_list)
671671
end
672672

673-
def test_dyanmic_prompt_with_double_newline_braking_code
673+
def test_dynamic_prompt_with_double_newline_breaking_code
674674
input_with_prompt = [
675675
PromptRow.new('001:1: :* ', %q(if true)),
676676
PromptRow.new('002:1: :* ', %q(%)),
@@ -684,7 +684,7 @@ def test_dyanmic_prompt_with_double_newline_braking_code
684684
assert_dynamic_prompt(lines, expected_prompt_list)
685685
end
686686

687-
def test_dyanmic_prompt_with_multiline_literal
687+
def test_dynamic_prompt_with_multiline_literal
688688
input_with_prompt = [
689689
PromptRow.new('001:1: :* ', %q(if true)),
690690
PromptRow.new('002:1:]:* ', %q( %w[)),
@@ -702,7 +702,7 @@ def test_dyanmic_prompt_with_multiline_literal
702702
assert_dynamic_prompt(lines, expected_prompt_list)
703703
end
704704

705-
def test_dyanmic_prompt_with_blank_line
705+
def test_dynamic_prompt_with_blank_line
706706
input_with_prompt = [
707707
PromptRow.new('001:0:]:* ', %q(%w[)),
708708
PromptRow.new('002:0:]:* ', %q()),

0 commit comments

Comments
 (0)