X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fdeprecated.t;h=a7e2997e43c7dfe8145110451fd7691f85a2e79d;hp=f1990823e45f811302f6771cb07d448c2ee96f8b;hb=4ac0b9cb8e9043db8a95f44af685c782bf9426e7;hpb=19a24dbb5b7329841b77ce80102c85c6bb137dee diff --git a/t/deprecated.t b/t/deprecated.t index f199082..a7e2997 100644 --- a/t/deprecated.t +++ b/t/deprecated.t @@ -26,4 +26,7 @@ is( $mvc_warnings, 1, 'Get the ::MVC:: warning' ); ok( my $response = request('http://localhost/'), 'Request' ); is( $response->header('X-Catalyst-Plugin-Deprecated'), '1', 'NEXT plugin ran correctly' ); -is( $warnings, 1, 'Got one and only one Adopt::NEXT warning'); +SKIP: { + skip 'non-dev release', 1 unless Catalyst::_IS_DEVELOPMENT_VERSION(); + is( $warnings, 1, 'Got one and only one Adopt::NEXT warning'); +}