This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update Module-Build to CPAN version 4.007
[perl5.git] / cpan / Module-Build / t / add_property_array.t
1 #!/usr/bin/perl -w
2
3 use strict;
4 use lib 't/lib';
5 use MBTest tests => 1;
6
7 blib_load 'Module::Build';
8
9 ADDPROP: {
10   package My::Build::Prop;
11   use base 'Module::Build';
12   __PACKAGE__->add_property( 'list_property' => []);
13 }
14
15 ok grep { $_ eq 'bundle_inc' } My::Build::Prop->array_properties, "has bundle_inc even after adding another array property";
16