summaryrefslogtreecommitdiff
path: root/t/run/switcha.t
blob: 16c7917b0ee151369163387021bb46e30451351c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!./perl -na

BEGIN {
    chdir 't' if -d 't';
    @INC = '../lib';
    require './test.pl';
    *ARGV = *DATA;
    plan(tests => 2);
}
chomp;
is($F[1], 'ok', "testing split of string '$_'");

__DATA__
not ok
not ok 3