Fix broken tests that would fail in future SQL::Abstract
[dbsrgits/DBIx-Class.git] / t / count / count_rs.t
index 7ed4cb5..88961c8 100644 (file)
@@ -153,7 +153,7 @@ my $schema = DBICTest->init_schema();
     $crs->as_query,
     '(SELECT COUNT( * )
       FROM (
-        SELECT me.artistid, MAX( cds.year ) AS newest_cd_year,
+        SELECT me.artistid, MAX( cds.year ) AS newest_cd_year
           FROM artist me
           LEFT JOIN cd cds ON cds.artist = me.artistid
         GROUP BY me.artistid