From: Daniel Westermann-Clark Date: Sun, 30 Apr 2006 17:38:26 +0000 (+0000) Subject: Fix evals for skipping test X-Git-Tag: v0.07002~75^2~215 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4527bbdc23c57860be0772602eac84e850d2fcdd;p=dbsrgits%2FDBIx-Class.git Fix evals for skipping test --- diff --git a/t/run/29dbicadmin.tl b/t/run/29dbicadmin.tl index 6700abb..93c42a1 100644 --- a/t/run/29dbicadmin.tl +++ b/t/run/29dbicadmin.tl @@ -2,12 +2,12 @@ sub run_tests { - eval{'require JSON'}; + eval 'require JSON'; plan skip_all, 'Install JSON to run this test' if ($@); - eval{'require Text::CSV_XS'}; + eval 'require Text::CSV_XS'; if ($@) { - eval{'require Text::CSV_PP'}; + eval 'require Text::CSV_PP'; plan skip_all, 'Install Text::CSV_XS or Text::CSV_PP to run this test' if ($@); }