From 3fbf3ffd9bcc09f296aaa708886e10fb5060b429 Mon Sep 17 00:00:00 2001 From: Doug Bell Date: Fri, 5 Nov 2010 22:38:38 -0500 Subject: [PATCH] make run_assets.t work --- t/run_assets.t | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/t/run_assets.t b/t/run_assets.t index 943e64549..93f114b68 100644 --- a/t/run_assets.t +++ b/t/run_assets.t @@ -15,8 +15,10 @@ use Test::Class; use Module::Find; use lib rel2abs( catdir ( dirname( __FILE__ ), 'tests' ) ); -plan skip_all => "Extremely slow asset tests only run if WEBGUI_ASSET_TESTS set" - unless $ENV{WEBGUI_ASSET_TESTS}; -useall('Test::WebGUI::Asset'); +BEGIN { + plan skip_all => "Extremely slow asset tests only run if WEBGUI_ASSET_TESTS set" + unless $ENV{WEBGUI_ASSET_TESTS}; + useall('Test::WebGUI::Asset'); +} Test::Class->runtests;