From: Vincent Pit Date: Wed, 15 Jul 2009 16:43:42 +0000 (+0200) Subject: Don't use 'Fatal' as a metasyntactic name X-Git-Tag: v0.17~4 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2Findirect.git;a=commitdiff_plain;h=7b0b52eea73aedd1cb0909d1c08766dc4782a5fb Don't use 'Fatal' as a metasyntactic name --- diff --git a/t/10-args.t b/t/10-args.t index bb44e97..683b57e 100644 --- a/t/10-args.t +++ b/t/10-args.t @@ -32,10 +32,10 @@ HERE eval <<'HERE'; die qq{shouldn't even compile\n}; no indirect ':fatal', hook => sub { die 'should not be called' }; - my $x = new Fatal; + my $x = new Croaked; $x = new NotReached; HERE - like $@, expect('Fatal'), 'croaks when :fatal is specified'; + like $@, expect('Croaked'), 'croaks when :fatal is specified'; } {