Use proper quote handling in _extract_order_criteria
[dbsrgits/DBIx-Class.git] / t / 71mysql.t
index bebbc4b..ef2c7de 100644 (file)
@@ -352,8 +352,8 @@ ZEROINSEARCH: {
   ]});
 
   warnings_exist { is_deeply (
-    [ $restrict_rs->get_column('y')->all ],
-    [ $y_rs->all ],
+    [ sort $restrict_rs->get_column('y')->all ],
+    [ sort $y_rs->all ],
     'Zero year was correctly excluded from resultset',
   ) } qr/
     \QUse of distinct => 1 while selecting anything other than a column \E