From: Tomas Doran Date: Wed, 19 Aug 2009 20:21:44 +0000 (+0000) Subject: Back out r11057 which breaks one of the chained tests, whilst not fixing the bug... X-Git-Tag: 5.80008~6 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=5c6d829db5bd01e575b11b00c1ea26d5888d9bf0;hp=67e9673e2729bf40b87a20b2afa350be19cd7f5e Back out r11057 which breaks one of the chained tests, whilst not fixing the bug in question --- diff --git a/lib/Catalyst/DispatchType/Chained.pm b/lib/Catalyst/DispatchType/Chained.pm index 9df62c8..3654a11 100644 --- a/lib/Catalyst/DispatchType/Chained.pm +++ b/lib/Catalyst/DispatchType/Chained.pm @@ -235,9 +235,7 @@ sub recurse_match { local $c->req->{arguments} = [ @{$c->req->args}, @parts ]; next TRY_ACTION unless $action->match($c); } - - # Default args is blank, not 0, since Args() - my $args_attr = $action->attributes->{Args}->[0] || ''; + my $args_attr = $action->attributes->{Args}->[0]; # No best action currently # OR This one matches with fewer parts left than the current best action, diff --git a/t/custom_exception_class_simple.t b/t/custom_exception_class_simple.t index e358043..e87ed80 100644 --- a/t/custom_exception_class_simple.t +++ b/t/custom_exception_class_simple.t @@ -7,9 +7,12 @@ use lib "$Bin/lib"; use Test::More tests => 1; use Test::Exception; +TODO: { + local $TODO = 'Does not work yet'; + lives_ok { require TestAppClassExceptionSimpleTest; } 'Can load application'; -1; +}