5 use Test::More tests => 5;
9 delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)}; # Placates taint-unsafe Cwd.pm in 5.6.1
10 use_ok( 'WWW::Mechanize' );
13 my $mech = WWW::Mechanize->new( cookie_jar => undef );
14 isa_ok( $mech, 'WWW::Mechanize' );
16 my $uri = URI::file->new_abs( 't/find_frame.html' )->as_string;
19 ok( $mech->success, "Fetched $uri" ) or die q{Can't get test page};
22 $x = $mech->find_link();
23 isa_ok( $x, 'WWW::Mechanize::Link' );
24 is( $x->url, 'bastro.html', 'First link sequentially' );