Converted all test cases where the tests are queued in an array to calculate the...
[dbsrgits/SQL-Abstract.git] / t / 06order_by.t
index 63bde18..440517f 100644 (file)
@@ -61,11 +61,12 @@ my @cases =
    },
   );
 
-my $sql  = SQL::Abstract->new;
-my $sqlq = SQL::Abstract->new({quote_char => '`'});
 
 plan tests => (scalar(@cases) * 2);
 
+my $sql  = SQL::Abstract->new;
+my $sqlq = SQL::Abstract->new({quote_char => '`'});
+
 for my $case( @cases){
   is($sql->_order_by($case->{given}), $case->{expects});
   is($sqlq->_order_by($case->{given}), $case->{expects_quoted});