diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/irb/test_color.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/irb/test_color.rb b/test/irb/test_color.rb index 61b4ea48f2..e61e3d3cd8 100644 --- a/test/irb/test_color.rb +++ b/test/irb/test_color.rb @@ -35,6 +35,7 @@ module TestIRB "'a\nb'" => "#{RED}'#{CLEAR}#{RED}a\n#{CLEAR}#{RED}b#{CLEAR}#{RED}'#{CLEAR}", "4.5.6" => "4.5.6", "[1]]]" => "[1]]]", + "\e[0m\n" => "^[[#{BLUE}#{BOLD}0#{CLEAR}m\n", }.each do |code, result| assert_equal(result, with_term { IRB::Color.colorize_code(code) }, "Case: colorize_code(#{code.dump})") end |