pass sqlite_version to SQLT
[dbsrgits/DBIx-Class.git] / t / storage / replication.t
index 1cd2d90..c7485b4 100644 (file)
@@ -66,7 +66,7 @@ TESTSCHEMACLASSES: {
 
     sub init_schema {
         # current SQLT SQLite producer does not handle DROP TABLE IF EXISTS, trap warnings here
-        local $SIG{__WARN__} = sub { warn @_ unless $_[0] =~ /no such table.+DROP TABLE/ };
+        local $SIG{__WARN__} = sub { warn @_ unless $_[0] =~ /no such table.+DROP TABLE/s };
 
         my ($class, $schema_method) = @_;