X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=p5sagit%2FPackage-Variant.git;a=blobdiff_plain;f=t%2F01simple.t;h=3d3813dd4996420bf6fe1b84af9fb81aab7947c2;hp=2a060cb7544ea8b0ba3acc6ae70b6a77c3097e17;hb=5a0662d9857ea1ee0717fa919d134115fd3441a8;hpb=d61014ce3f63d541db3164e5c743e32db2bab238 diff --git a/t/01simple.t b/t/01simple.t index 2a060cb..3d3813d 100644 --- a/t/01simple.t +++ b/t/01simple.t @@ -100,6 +100,13 @@ TestSingleImport(23); is_deeply [@imported], [qw( TestImportableA )], 'scalar import works'; +@imported = (); + +TestSingleImport::->build_variant; + +is_deeply [@imported], [qw( TestImportableA )], + 'build_variant works'; + like exception { Package::Variant->import( importing => \'foo', subs => [qw( foo )],