X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestLogger.pm;h=87e9213c56a2f33399eb699f19e43a5d71eaa643;hp=6c1a26e01bc55eb94fd5826047f2f87aaeb246b2;hb=9c38cb50194368eda26e05b0add82685316e7e09;hpb=5893a3c800ac2c6e49f63f790cdca8efe4b59e81 diff --git a/t/lib/TestLogger.pm b/t/lib/TestLogger.pm index 6c1a26e..87e9213 100644 --- a/t/lib/TestLogger.pm +++ b/t/lib/TestLogger.pm @@ -25,5 +25,6 @@ sub warn { push(@ELOGS, shift()); } +sub error { die "Got unexpected error; $_[1]" } 1;