From: Norbert Buchmuller Date: Wed, 18 Feb 2009 02:39:09 +0000 (+0100) Subject: * Fixed to make it work with [colname => value] bind value format of SQLA. X-Git-Tag: v0.08240~118 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f3e1cd78ed0166302c57fcc7bb39ae9e76ea242f;hp=0d51499ee79554191eb60d41f2a4b7d57e6eee63;p=dbsrgits%2FDBIx-Class.git * Fixed to make it work with [colname => value] bind value format of SQLA. --- diff --git a/t/72pg.t b/t/72pg.t index fa67d1c..45e614f 100644 --- 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');