summaryrefslogtreecommitdiff
path: root/t/add_property_array.t
diff options
context:
space:
mode:
Diffstat (limited to 't/add_property_array.t')
-rw-r--r--t/add_property_array.t16
1 files changed, 16 insertions, 0 deletions
diff --git a/t/add_property_array.t b/t/add_property_array.t
new file mode 100644
index 0000000..3b405cb
--- /dev/null
+++ b/t/add_property_array.t
@@ -0,0 +1,16 @@
+#!/usr/bin/perl -w
+
+use strict;
+use lib 't/lib';
+use MBTest tests => 1;
+
+blib_load 'Module::Build';
+
+ADDPROP: {
+ package My::Build::Prop;
+ use base 'Module::Build';
+ __PACKAGE__->add_property( 'list_property' => []);
+}
+
+ok grep { $_ eq 'bundle_inc' } My::Build::Prop->array_properties, "has bundle_inc even after adding another array property";
+