X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Funicode_plugin_live.t;h=f3b5f904f69db12c81ebed268960176ecb6a208d;hp=87d9061af7f641ee33e1a79f0204fe08d74147b9;hb=1d285816f88ccd8b81e733565ca4363140b75ec8;hpb=9af4ee013b23e7241d4664ea39952fa3b20f4b7f diff --git a/t/unicode_plugin_live.t b/t/unicode_plugin_live.t index 87d9061..f3b5f90 100644 --- a/t/unicode_plugin_live.t +++ b/t/unicode_plugin_live.t @@ -1,24 +1,20 @@ use strict; use warnings; use Test::More; -use IO::Scalar; # setup library path use FindBin qw($Bin); use lib "$Bin/lib"; BEGIN { -if ( !eval { require Test::WWW::Mechanize::Catalyst } || ! Test::WWW::Mechanize::Catalyst->VERSION('0.51') ) { + if ( !eval { require Test::WWW::Mechanize::Catalyst; Test::WWW::Mechanize::Catalyst->VERSION('0.51') } ) { plan skip_all => 'Need Test::WWW::Mechanize::Catalyst for this test'; -} + } } # make sure testapp works use_ok('TestAppUnicode') or BAIL_OUT($@); -our $TEST_FILE = IO::Scalar->new(\"this is a test"); -sub IO::Scalar::FILENO { -1 }; # needed? - # a live test against TestAppUnicode, the test application use Test::WWW::Mechanize::Catalyst 'TestAppUnicode'; my $mech = Test::WWW::Mechanize::Catalyst->new;