Skip to content

Commit f68e891

Browse files
authored
Fix RubyLex's heredoc_with_hembexpr test to avoid ripper tokenizing issue (#558)
1 parent 3f714b6 commit f68e891

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/irb/test_ruby_lex.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,9 @@ def test_heredoc_with_embexpr
229229
input_with_prompt = [
230230
PromptRow.new('001:0:":* ', %q(<<A+%W[#{<<B)),
231231
PromptRow.new('002:0:":* ', %q(#{<<C+%W[)),
232-
PromptRow.new('003:0:":* ', %q()),
233-
PromptRow.new('004:0:":* ', %q(C)),
234-
PromptRow.new('005:0:]:* ', %q()),
232+
PromptRow.new('003:0:":* ', %q(a)),
233+
PromptRow.new('004:0:]:* ', %q(C)),
234+
PromptRow.new('005:0:]:* ', %q(a)),
235235
PromptRow.new('006:0:":* ', %q(]})),
236236
PromptRow.new('007:0:":* ', %q(})),
237237
PromptRow.new('008:0:":* ', %q(A)),

0 commit comments

Comments
 (0)