Subject: | stuff_inputs relies on apparently undefined sub grep_inputs |
The call to stuff_inputs fails:
$ prove bug_report.t
bug_report....Can't locate object method "grep_inputs" via package
"Test::WWW::Mechanize" at
/usr/local/share/perl/5.8.8/Test/WWW/Mechanize.pm line 831.
# Looks like your test died just after 1.
bug_report....dubious
Test returned status 255 (wstat 65280, 0xff00)
after all the subtests completed successfully
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
bug_report.t 255 65280 1 0 ??
Failed 1/1 test scripts. 0/1 subtests failed.
Files=1, Tests=1, 1 wallclock secs ( 0.22 cusr + 0.00 csys = 0.22 CPU)
Failed 1/1 test programs. 0/1 subtests failed.
Subject: | bug_report.t |
use strict;
use warnings;
use Test::More 'no_plan';
#use Test::WWW::Mechanize::Catalyst 'CatalystDemo';
use Test::WWW::Mechanize;
{
my $mech = Test::WWW::Mechanize->new();
$mech->get_ok('http://google.com');
$mech->stuff_inputs();
}