diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-26 18:45:59 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-05-26 18:47:52 +0900 |
commit | 2ce6365f9ccd93e8129252429391118f794f5e0b (patch) | |
tree | 57e8631b7b739ad5022c0d3c748a6fbb7226dfd7 /test/irb | |
parent | 58308899151ee3d49f8d9ef5c4e8d108d8822525 (diff) |
parse.y: adjust error indicator
* parse.y (parser_yylex): adjust the error indicator of unexpected
fraction part.
before:
~~~
1.2.3
^~~
~~~
after:
~~~
1.2.3
^~
~~~
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 c25996e976..3ba0c4c1ac 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" => "#{MAGENTA}#{BOLD}4.5.6#{CLEAR}", + "4.5.6" => "4.5.6", "[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}", |