Make select always equal group by on count subqueries
[dbsrgits/DBIx-Class.git] / t / 72pg.t
index 27cb1b6..2178ce0 100644 (file)
--- a/t/72pg.t
+++ b/t/72pg.t
@@ -19,12 +19,11 @@ use DBICTest;
   __PACKAGE__->column_info_from_storage(1);
   __PACKAGE__->set_primary_key('id');
 
-sub store_column {
+  sub store_column {
     my ($self, $name, $value) = @_;
     $value = '#'.$value if($name eq "storecolumn");
     $self->maybe::next::method($name, $value);
-}
-
+  }
 }
 
 {
@@ -163,7 +162,7 @@ is_deeply($type_info, $test_type_info,
   my $count;
   lives_ok {
     $count = $schema->resultset('ArrayTest')->search({
-      arrayfield => \[ '= ?' => [arrayfield => [3, 4]] ],   #TODO anything less ugly than this?
+      arrayfield => \[ '= ?' => [arrayfield => [3, 4]] ],   #Todo anything less ugly than this?
     })->count;
   } 'comparing arrayref to pg array data does not blow up';
   is($count, 1, 'comparing arrayref to pg array data gives correct result');
@@ -278,4 +277,3 @@ END {
         $dbh->do("DROP SCHEMA testschema;");
     }
 }
-