Stop using deprecated regex syntax
[dbsrgits/DBIx-Class.git] / t / count / distinct.t
index 64fa856..1b44b9a 100644 (file)
@@ -80,7 +80,7 @@ for my $get_count (
 
 throws_ok(
   sub { my $row = $schema->resultset('Tag')->search({}, { select => { distinct => [qw/tag cd/] } })->first },
-  qr/select => { distinct => \.\.\. } syntax is not supported for multiple columns/,
+  qr/\Qselect => { distinct => ... } syntax is not supported for multiple columns/,
   'throw on unsupported syntax'
 );