X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Frun%2F21transactions.tl;h=eafc5756d5da2048af01c00b69c70c158b1f578f;hb=3b24f6ea87d4339179f2752b661d85dd08827d8f;hp=8589fe82245589450b8180e55de611979df0e424;hpb=171dadd7f598063c1a6913da80a7cdfe6e83199c;p=dbsrgits%2FDBIx-Class.git diff --git a/t/run/21transactions.tl b/t/run/21transactions.tl index 8589fe8..eafc575 100644 --- a/t/run/21transactions.tl +++ b/t/run/21transactions.tl @@ -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(''); };