summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-09-04 12:02:16 -0500
committerJesse Luehrs <doy@tozt.net>2011-09-04 12:02:16 -0500
commit05596e277d97bad8338f83b4da0f90e28521b3a6 (patch)
tree430a13e91c0cfdf737f28fb79d27163b98790201
parent2f1806278872f78df4f7db0971c161049099708f (diff)
downloadcarp-always-color-05596e277d97bad8338f83b4da0f90e28521b3a6.tar.gz
carp-always-color-05596e277d97bad8338f83b4da0f90e28521b3a6.zip
also fix this test (this should have been TODO originally also)
-rw-r--r--t/04-eval.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/04-eval.t b/t/04-eval.t
index 3500dc0..7ccd181 100644
--- a/t/04-eval.t
+++ b/t/04-eval.t
@@ -23,7 +23,7 @@ output_is(<<EOF,
die \$@;
}
EOF
- "\e[31m\e[31mfoo\e[m\e[m at -e line 4\n",
+ "\e[31m\e[31mfoo\e[m\e[m at -e line 2\n\teval {...} called at -e line 4\n",
"rethrowing works");
output_is(<<EOF,
@@ -36,5 +36,5 @@ output_is(<<EOF,
}
foo();
EOF
- "\e[31m\e[31mfoo\e[m\e[m at -e line 5\n\tmain::foo() called at -e line 8\n",
+ "\e[31m\e[31mfoo\e[m\e[m at -e line 3\n\teval {...} called at -e line 3\n\tmain::foo() called at -e line 5\n\tmain::foo() called at -e line 8\n",
"rethrowing works inside functions");