summaryrefslogtreecommitdiffstats
path: root/t/eval.t
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-03-08 21:09:34 -0600
committerJesse Luehrs <doy@tozt.net>2012-03-08 21:09:34 -0600
commitc182157b3bf68888a3296b5cef1bd26e80d44332 (patch)
tree7071c5d77c896026c613d99aa8581d8acbbd930b /t/eval.t
parentb9841300cb47cee9d6cda24b3477c763530b947f (diff)
downloadcarp-always-color-c182157b3bf68888a3296b5cef1bd26e80d44332.tar.gz
carp-always-color-c182157b3bf68888a3296b5cef1bd26e80d44332.zip
done_testing
Diffstat (limited to 't/eval.t')
-rw-r--r--t/eval.t3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/eval.t b/t/eval.t
index fbed876..eb33d22 100644
--- a/t/eval.t
+++ b/t/eval.t
@@ -5,7 +5,6 @@ use Test::More;
BEGIN {
eval "use IO::Pty::Easy;";
plan skip_all => "IO::Pty::Easy is required for this test" if $@;
- plan tests => 2;
}
sub output_like {
@@ -38,3 +37,5 @@ output_like(<<EOF,
EOF
qr/\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");
+
+done_testing;