From: Peter Rabbitson Date: Tue, 11 Dec 2012 11:01:25 +0000 (+0100) Subject: Stop using deprecated regex syntax X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=df72bc739806024a4a43f2316f3feddcf2a0cfd5;p=dbsrgits%2FDBIx-Class-Historic.git Stop using deprecated regex syntax --- diff --git a/t/count/distinct.t b/t/count/distinct.t index 64fa856..1b44b9a 100644 --- a/t/count/distinct.t +++ b/t/count/distinct.t @@ -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' );