We already have Storable as a dep, this is pointless
[dbsrgits/SQL-Abstract.git] / t / 04modifiers.t
index 87ddbfc..c8d3ce1 100644 (file)
@@ -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;