From: Alexander Hartmaier Date: Mon, 19 Dec 2011 13:40:12 +0000 (+0100) Subject: fixed test failure in generic.t with Moose > 2.02 X-Git-Tag: 2.004003~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Controller-DBIC-API.git;a=commitdiff_plain;h=bbe2631790b78e8cf1fdf8696838a095e0eb5353;hp=c056b72b09fcad8e591b5c7568959ba22caf4f0b fixed test failure in generic.t with Moose > 2.02 --- diff --git a/Changes b/Changes index 028ad71..1aafb25 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Revision history for Catalyst-Controller-DBIC-API: {{ $dist->version }} {{ $NEXT }} +- Fixed test failure in generic.t with Moose > 2.02 2.004002 2011-10-24 15:48:55 Europe/Vienna diff --git a/t/generic.t b/t/generic.t index fa6a297..9e12f77 100644 --- a/t/generic.t +++ b/t/generic.t @@ -5,7 +5,7 @@ use Test::More; { eval "use Catalyst::Test 'TestAppCheckHasCol'"; - like($@, qr/^Couldn't load class \(TestAppCheckHasCol\) because: Couldn't instantiate component "TestAppCheckHasCol::Controller::InvalidColumn", "Column 'foo' does not exist in ResultSet 'TestAppDB::Artist'/, 'check_has_column ok'); + like($@, qr/Couldn't instantiate component "TestAppCheckHasCol::Controller::InvalidColumn", "Column 'foo' does not exist in ResultSet 'TestAppDB::Artist'/, 'check_has_column ok'); } done_testing();