X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Flib%2FTestApp%2FController%2FAction%2FChained.pm;h=5fa5f2250c0b12d18b34e08c3c6f4769ddffb2c3;hp=732a35bbda6086986d893a20acfedd784de3ec66;hb=760d121ecfcc1ad7c28342a6912a472fe30e5fe0;hpb=e5cd6cc061d87d09a29fe67c7c3ab8fc386a5af0 diff --git a/t/lib/TestApp/Controller/Action/Chained.pm b/t/lib/TestApp/Controller/Action/Chained.pm index 732a35b..5fa5f22 100644 --- a/t/lib/TestApp/Controller/Action/Chained.pm +++ b/t/lib/TestApp/Controller/Action/Chained.pm @@ -20,7 +20,7 @@ sub begin :Private { } sub foo :PathPart('chained/foo') :CaptureArgs(1) :Chained('/') { my ( $self, $c, @args ) = @_; die "missing argument" unless @args; - die "more than 1 argument" if @args > 1; + die "more than 1 argument: got @args" if @args > 1; } sub endpoint :PathPart('end') :Chained('/action/chained/foo') :Args(1) { }