1#!/usr/bin/perl -w
2
3use strict;
4use warnings;
5use Test::More (
6    $^O eq 'VMS'
7    ? ( skip_all => 'VMS' )
8    : ( tests => 4 )
9);
10
11use Test::Harness;
12
13for 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
19