summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomoya ishida <tomoyapenguin@gmail.com>2023-04-07 20:03:23 +0900
committergit <svn-admin@ruby-lang.org>2023-04-07 11:03:28 +0000
commitf8115ec727b6a63305d143c2869678c3a8210fa7 (patch)
treef66ea0737afa6f620f2a205f18e956b02052cdf9
parent250e97c0fba48d1f87ccecb1b1e1b4bd2a30c388 (diff)
[ruby/irb] Fix RubyLex's heredoc_with_hembexpr test to avoid ripper
tokenizing issue (https://github.com/ruby/irb/pull/558) https://github.com/ruby/irb/commit/f68e891ed1
-rw-r--r--test/irb/test_ruby_lex.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/irb/test_ruby_lex.rb b/test/irb/test_ruby_lex.rb
index 1657d0fc6d..5188009eee 100644
--- a/test/irb/test_ruby_lex.rb
+++ b/test/irb/test_ruby_lex.rb
@@ -229,9 +229,9 @@ module TestIRB
input_with_prompt = [
PromptRow.new('001:0:":* ', %q(<<A+%W[#{<<B)),
PromptRow.new('002:0:":* ', %q(#{<<C+%W[)),
- PromptRow.new('003:0:":* ', %q()),
- PromptRow.new('004:0:":* ', %q(C)),
- PromptRow.new('005:0:]:* ', %q()),
+ PromptRow.new('003:0:":* ', %q(a)),
+ PromptRow.new('004:0:]:* ', %q(C)),
+ PromptRow.new('005:0:]:* ', %q(a)),
PromptRow.new('006:0:":* ', %q(]})),
PromptRow.new('007:0:":* ', %q(})),
PromptRow.new('008:0:":* ', %q(A)),