update the tests to strictures 2. ran ack to check this time. FFS.
[p5sagit/Package-Variant.git] / t / 11dynamic-build.t
CommitLineData
d4b2facb 1use strictures 2;
2bf4fbb4 2use Test::More;
3
4BEGIN {
5 package TestVariable;
6 use Package::Variant;
7 sub make_variant {
8 my ($class, $target, @args) = @_;
9 install variant_values => sub { [@args] };
10 }
11}
12
13is_deeply(
14 Package::Variant
15 ->build_variant_of('TestVariable', 3..7)
16 ->variant_values,
17 [3..7],
18 'build_variant_of with scalar values',
19);
20
21done_testing;