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
1 #!./perl
2
3 BEGIN {
4     chdir 't' if -d 't';
5     @INC = '../lib';
6     require './test.pl';
7 }
8 plan(tests => 1);
9
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 }