diff options
author | Jesse Luehrs <doy@tozt.net> | 2010-04-30 20:06:11 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2010-04-30 20:09:40 -0500 |
commit | ddd601047a76fb519d4acba4c59d77ebfde1fa6e (patch) | |
tree | 2a5840e61ce7a6868d522015ddc74c0f938d9be5 /t/003-detect.t | |
parent | ce489a3dcdcd8dcc1dec85b92698e0b94c85ca38 (diff) | |
download | carp-always-color-ddd601047a76fb519d4acba4c59d77ebfde1fa6e.tar.gz carp-always-color-ddd601047a76fb519d4acba4c59d77ebfde1fa6e.zip |
only color the actual warning/error
also clean up a couple more edge cases
Diffstat (limited to 't/003-detect.t')
-rw-r--r-- | t/003-detect.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/003-detect.t b/t/003-detect.t index aadcf88..6c4f7d3 100644 --- a/t/003-detect.t +++ b/t/003-detect.t @@ -20,7 +20,7 @@ output_is(<<EOF, use Carp::Always::Color; warn "foo"; EOF - "\e[33mfoo at -e line 2\e[m\n", + "\e[33mfoo\e[m at -e line 2\n", "detection works for terminal output"); output_is(<<EOF, @@ -33,5 +33,5 @@ output_is(<<EOF, warn "foo"; print \$stderr; EOF - "<span style=\"color:#880\">foo at -e line 7</span>\n", + "<span style=\"color:#880\">foo</span> at -e line 7\n", "detection works for terminal output"); |