This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #116190] use the true and trusted fresh_perl_is()
[perl5.git] / t / run / switchF2.t
CommitLineData
5fc691f1
AP
1#!./perl
2
3BEGIN {
4 chdir 't' if -d 't';
5 @INC = '../lib';
6 require './test.pl';
7}
8plan(tests => 1);
9
3271c5f8
TC
10{ # perl #116190
11 fresh_perl_is('print qq!@F!', '1 2',
12 {
13 stdin => "1:2",
14 switches => [ '-n', '-F:' ],
15 }, "passing -F implies -a");
16}