[Catalyst-commits] r11667 - Catalyst-Plugin-Static-Simple/trunk/t
t0m at dev.catalyst.perl.org
t0m at dev.catalyst.perl.org
Thu Oct 22 20:47:06 GMT 2009
Author: t0m
Date: 2009-10-22 20:47:05 +0000 (Thu, 22 Oct 2009)
New Revision: 11667
Modified:
Catalyst-Plugin-Static-Simple/trunk/t/12check_error_scope.t
Log:
Test actually dies hard due to that division, fix to just die and so get filled
Modified: Catalyst-Plugin-Static-Simple/trunk/t/12check_error_scope.t
===================================================================
--- Catalyst-Plugin-Static-Simple/trunk/t/12check_error_scope.t 2009-10-22 20:42:32 UTC (rev 11666)
+++ Catalyst-Plugin-Static-Simple/trunk/t/12check_error_scope.t 2009-10-22 20:47:05 UTC (rev 11667)
@@ -17,7 +17,7 @@
*Catalyst::Plugin::Static::Simple::prepare_action = sub {
my ($c) = @_;
- eval { my $var = 1 / 0 };
+ eval { die("FOO"); };
ok ($@, '$@ has a value.');
return $orig_sub->( $c );
More information about the Catalyst-commits
mailing list