Move Test::Harness from ext/ to cpan/
[p5sagit/p5-mst-13.2.git] / cpan / Test-Harness / t / proverc.t
1 #!/usr/bin/perl -w
2
3 use strict;
4 use lib 't/lib';
5 use Test::More tests => 1;
6 use File::Spec;
7 use App::Prove;
8
9 my $prove = App::Prove->new;
10
11 $prove->add_rc_file(
12     File::Spec->catfile(
13         't', 'data',
14         'proverc'
15     )
16 );
17
18 is_deeply $prove->{rc_opts},
19   [ '--should', 'be', '--split', 'correctly', 'Can', 'quote things',
20     'using single or', 'double quotes', '--this', 'is', 'OK?'
21   ],
22   'options parsed';
23