summaryrefslogtreecommitdiff
path: root/t/run/switchp.t
diff options
context:
space:
mode:
Diffstat (limited to 't/run/switchp.t')
-rw-r--r--t/run/switchp.t12
1 files changed, 9 insertions, 3 deletions
diff --git a/t/run/switchp.t b/t/run/switchp.t
index 19947356d9..1d1fe1485f 100644
--- a/t/run/switchp.t
+++ b/t/run/switchp.t
@@ -1,10 +1,16 @@
#!./perl -p
BEGIN {
- print "1..2\n";
+ print "1..3\n";
*ARGV = *DATA;
}
+END {
+ print "ok 3\n";
+}
+
+s/^not //;
+
__DATA__
-ok 1
-ok 2
+not ok 1
+not ok 2