revert previous revision
[dbsrgits/DBIx-Class.git] / t / 72pg.t
index fa67d1c..45e614f 100644 (file)
--- a/t/72pg.t
+++ b/t/72pg.t
@@ -153,7 +153,7 @@ SKIP: {
   my $count;
   lives_ok {
     $count = $schema->resultset('ArrayTest')->search({
-      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');