X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F04modifiers.t;h=c8d3ce19b4c97c91dc7a9f1631a7aff1dd10a6fc;hb=771ea2ecd7b6b670b4e04d81336abaf0b71186c5;hp=87ddbfce1bad986464cfa44a286f83a3407b5d71;hpb=48d9f5f846e7f9e8f51110ad418a3bb4b50c31f9;p=dbsrgits%2FSQL-Abstract.git diff --git a/t/04modifiers.t b/t/04modifiers.t index 87ddbfc..c8d3ce1 100644 --- a/t/04modifiers.t +++ b/t/04modifiers.t @@ -7,8 +7,8 @@ use Test::Exception; use SQL::Abstract::Test import => ['is_same_sql_bind']; use Data::Dumper; -use Storable qw/dclone/; use SQL::Abstract; +use Storable 'dclone'; #### WARNING #### # @@ -380,8 +380,6 @@ my @nest_tests = ( }, ); -plan tests => @and_or_tests*4 + @numbered_mods*4 + @nest_tests*2; - for my $case (@and_or_tests) { TODO: { local $TODO = $case->{todo} if $case->{todo}; @@ -392,6 +390,7 @@ for my $case (@and_or_tests) { local $SIG{__WARN__} = sub { push @w, @_ }; my $sql = SQL::Abstract->new ($case->{args} || {}); + my $where_copy = dclone($case->{where}); lives_ok (sub { @@ -469,3 +468,4 @@ for my $case (@numbered_mods) { } } +done_testing;