Debian Codegraph @

cpan/Test-Harness/t/compat/switches.t

raw
1 #!/usr/bin/perl -w
2
3 use strict;
4 use warnings;
5 use Test::More (
6 $^O eq 'VMS'
7 ? ( skip_all => 'VMS' )
8 : ( tests => 4 )
9 );
10
11 use Test::Harness;
12
13 for my $switch ( '-Ifoo', '-I foo' ) {
14 $Test::Harness::Switches = $switch;
15 ok my $harness = Test::Harness::_new_harness, 'made harness';
16 is_deeply [ $harness->lib ], ['-Ifoo'], 'got libs';
17 }
18