1b39c5158Smillert#!/usr/bin/perl -w
2b39c5158Smillert
3898184e3SsthenBEGIN {
4898184e3Ssthen    unshift @INC, 't/lib';
5898184e3Ssthen}
6898184e3Ssthen
7b39c5158Smillertuse strict;
8*6fb12b70Safresh1use warnings;
9b39c5158Smillertuse lib 't/lib';
10b39c5158Smillertuse Test::More tests => 1;
11b39c5158Smillertuse File::Spec;
12b39c5158Smillertuse App::Prove;
13b39c5158Smillert
14b39c5158Smillertmy $prove = App::Prove->new;
15b39c5158Smillert
16b39c5158Smillert$prove->add_rc_file(
17b39c5158Smillert    File::Spec->catfile(
18b39c5158Smillert        't', 'data',
19b39c5158Smillert        'proverc'
20b39c5158Smillert    )
21b39c5158Smillert);
22b39c5158Smillert
23b39c5158Smillertis_deeply $prove->{rc_opts},
24b39c5158Smillert  [ '--should', 'be', '--split', 'correctly', 'Can', 'quote things',
25b39c5158Smillert    'using single or', 'double quotes', '--this', 'is', 'OK?'
26b39c5158Smillert  ],
27b39c5158Smillert  'options parsed';
28b39c5158Smillert
29