fixed test failure in generic.t with Moose > 2.02
[catagits/Catalyst-Controller-DBIC-API.git] / t / generic.t
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();