This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/loc_tools.pl: Consider thread 0 always locale-safe
[perl5.git] / t / run / switchF.t
CommitLineData
d11311f7
RGS
1#!./perl -anFx+
2
3BEGIN {
4e94c743
CK
4 chdir 't' if -d 't';
5 @INC = '../lib';
6 require './test.pl';
d11311f7 7 *ARGV = *DATA;
4e94c743 8 plan(tests => 2);
d11311f7 9}
4e94c743
CK
10my $index = $F[-1];
11chomp $index;
12is($index, $., "line $.");
d11311f7
RGS
13
14__DATA__
15okx1
4e94c743 16okx3xx2