diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-26 11:33:40 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-26 16:24:33 +0900 |
commit | 02b39daef834890981689f1f697c7c25cad55dd6 (patch) | |
tree | 638b2d98375489298bfb0cb11706438c9c073921 /test/irb | |
parent | f20af9543f278ab602d001dace850dcf4411cfa6 (diff) | |
download | ruby-02b39daef834890981689f1f697c7c25cad55dd6.tar.gz |
Fix scanner event at invalid syntax
* parse.y (parser_yyerror, parser_compile_error): revert
r67224 (e5d10cda07b23682e5e4e64d1324e4d3247d4785) "Flush erred
token".
Diffstat (limited to 'test/irb')
-rw-r--r-- | test/irb/test_color.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/irb/test_color.rb b/test/irb/test_color.rb index 3ba0c4c1ac..c25996e976 100644 --- a/test/irb/test_color.rb +++ b/test/irb/test_color.rb @@ -35,7 +35,7 @@ module TestIRB '"foo#{a} #{b}"' => "#{RED}\"#{CLEAR}#{RED}foo#{CLEAR}#{RED}\#{#{CLEAR}a#{RED}}#{CLEAR}#{RED} #{CLEAR}#{RED}\#{#{CLEAR}b#{RED}}#{CLEAR}#{RED}\"#{CLEAR}", '/r#{e}g/' => "#{RED}#{BOLD}/#{CLEAR}#{RED}r#{CLEAR}#{RED}\#{#{CLEAR}e#{RED}}#{CLEAR}#{RED}g#{CLEAR}#{RED}#{BOLD}/#{CLEAR}", "'a\nb'" => "#{RED}'#{CLEAR}#{RED}a#{CLEAR}\n#{RED}b#{CLEAR}#{RED}'#{CLEAR}", - "4.5.6" => "4.5.6", + "4.5.6" => "#{MAGENTA}#{BOLD}4.5.6#{CLEAR}", "[1]]]" => "[1]]]", "\e[0m\n" => "^[[#{BLUE}#{BOLD}0#{CLEAR}m\n", "%w[a b]" => "#{RED}%w[#{CLEAR}#{RED}a#{CLEAR} #{RED}b#{CLEAR}#{RED}]#{CLEAR}", |