[Bast-commits] r7085 - DBIx-Class/0.08/trunk/t

ribasushi at dev.catalyst.perl.org ribasushi at dev.catalyst.perl.org
Wed Jul 22 01:50:59 GMT 2009


Author: ribasushi
Date: 2009-07-22 01:50:57 +0000 (Wed, 22 Jul 2009)
New Revision: 7085

Modified:
   DBIx-Class/0.08/trunk/t/99dbic_sqlt_parser.t
Log:
Lazy folks do not run the whole test suite before merging >:( 

Modified: DBIx-Class/0.08/trunk/t/99dbic_sqlt_parser.t
===================================================================
--- DBIx-Class/0.08/trunk/t/99dbic_sqlt_parser.t	2009-07-22 00:36:54 UTC (rev 7084)
+++ DBIx-Class/0.08/trunk/t/99dbic_sqlt_parser.t	2009-07-22 01:50:57 UTC (rev 7085)
@@ -15,9 +15,13 @@
 
 my $schema = DBICTest->init_schema();
 # Dummy was yanked out by the sqlt hook test
+# CustomSql tests the horrific/deprecated ->name(\$sql) hack
 # YearXXXXCDs are views
-my @sources = grep { $_ ne 'Dummy' && $_ !~ /^Year\d{4}CDs$/ } 
-                $schema->sources;
+#
+my @sources = grep
+  { $_ !~ /^ (?: Dummy | CustomSql | Year\d{4}CDs ) $/x }
+  $schema->sources
+;
 
 plan tests => ( @sources * 3);
 




More information about the Bast-commits mailing list