summaryrefslogtreecommitdiff
path: root/t/run/switchn.t
diff options
context:
space:
mode:
Diffstat (limited to 't/run/switchn.t')
-rw-r--r--t/run/switchn.t9
1 files changed, 8 insertions, 1 deletions
diff --git a/t/run/switchn.t b/t/run/switchn.t
index 12d3898a8e..bca9a66e76 100644
--- a/t/run/switchn.t
+++ b/t/run/switchn.t
@@ -1,11 +1,18 @@
#!./perl -n
BEGIN {
- print "1..2\n";
+ print "1..3\n";
*ARGV = *DATA;
}
+
+END {
+ print "ok 3\n";
+}
+
print;
+s/^/not /;
+
__DATA__
ok 1
ok 2