From: Justin Guenther Date: Mon, 27 Feb 2006 22:50:49 +0000 (+0000) Subject: Fixed a typo X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=51b787f8498b160ee93705f123825712026e4ab5;p=dbsrgits%2FDBIx-Class-Historic.git Fixed a typo --- 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(''); };