X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fdead_load_bad_args.t;h=58c2f1180b2f200cf0ff844b374964037ef49369;hp=8542a13edf64aa963ddb3722f0824f2101df58d9;hb=b0ff1be8caade25b5485bf174f0224b2066a3b8f;hpb=08f8d85ca6f74ecf186f0a367bb80dbc4deb63e9 diff --git a/t/dead_load_bad_args.t b/t/dead_load_bad_args.t index 8542a13..58c2f11 100644 --- a/t/dead_load_bad_args.t +++ b/t/dead_load_bad_args.t @@ -1,17 +1,23 @@ -#!perl - use strict; use warnings; use lib 't/lib'; use Test::More; +# This test needs to be rewritten (and the code it was using as well) since +# when we added the arg and capturearg type constraint support, we now allow +# non integer values. however we could probably support some additional sanity +# testing on the values, so this is a nice TODO for someone -jnap + +plan skip_all => 'Removing this test because constraint arg types allow this'; + use Catalyst::Test 'TestApp'; for my $fail ( "(' ')", "('')", "('1.23')", + "(-1)", ) { for my $type (qw(Args CaptureArgs)) { eval <<"END";