Fixed a typo
[dbsrgits/DBIx-Class.git] / t / run / 21transactions.tl
index 8589fe8..eafc575 100644 (file)
@@ -15,11 +15,10 @@ my $code = sub {
 
 # Test checking of parameters
 {
-
   eval {
     (ref $schema)->txn_do(sub{});
   };
-  like($@, qr/class method/, '$coderef parameter check ok');
+  like($@, qr/class method/, '$self parameter check ok');
   eval {
     $schema->txn_do('');
   };