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=82010ea176741c7a4f2baf3f6f27377b1d9f6b15;hpb=c13f6e7ecb789a860ee01f163a5e4b66a4854186 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;