[Catalyst-commits] r9376 - Catalyst-Runtime/5.80/trunk/t

rafl at dev.catalyst.perl.org rafl at dev.catalyst.perl.org
Fri Feb 20 17:25:45 GMT 2009


Author: rafl
Date: 2009-02-20 17:25:45 +0000 (Fri, 20 Feb 2009)
New Revision: 9376

Modified:
   Catalyst-Runtime/5.80/trunk/t/deprecated.t
Log:
Skip NEXT warning tests on stable releases.

Modified: Catalyst-Runtime/5.80/trunk/t/deprecated.t
===================================================================
--- Catalyst-Runtime/5.80/trunk/t/deprecated.t	2009-02-20 17:25:38 UTC (rev 9375)
+++ Catalyst-Runtime/5.80/trunk/t/deprecated.t	2009-02-20 17:25:45 UTC (rev 9376)
@@ -26,4 +26,7 @@
 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');
+}




More information about the Catalyst-commits mailing list