fixed test failure in generic.t with Moose > 2.02
Alexander Hartmaier [Mon, 19 Dec 2011 13:40:12 +0000 (14:40 +0100)]
Changes
t/generic.t

diff --git a/Changes b/Changes
index 028ad71..1aafb25 100644 (file)
--- 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
 
index fa6a297..9e12f77 100644 (file)
@@ -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();