summaryrefslogtreecommitdiffstats
path: root/t/eval.t
diff options
context:
space:
mode:
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;