Subject: | recaptcha.t test fail |
1:12 spiceman@cynic ~/.cpanm/work/1280894236.16444/HTML-FormFu-0.07002 %
perl -v
This is perl, v5.10.1 (*) built for x86_64-linux
Copyright 1987-2009, Larry Wall
Perl may be copied only under the terms of either the Artistic License
or the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.
1:12 spiceman@cynic ~/.cpanm/work/1280894236.16444/HTML-FormFu-0.07002 %
prove -l t/elements/recaptcha.t
t/elements/recaptcha.t .. 1/1
# Failed test 'stringified form'
# at t/elements/recaptcha.t line 28.
# got: '<form action="" method="post">
# <div class="recaptcha">
# <span class="elements">
# <script type="text/javascript">
# //<![CDATA[
# var RecaptchaOptions = {};
# //]]>
# </script>
# <script src="http://www.google.com/recaptcha/api/challenge?k=xxx"
type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300"
src="http://www.google.com/recaptcha/api/noscript?k=xxx"
width="500"></iframe><textarea cols="40"
name="recaptcha_challenge_field" rows="3"></textarea><input
name="recaptcha_response_field" type="hidden" value="manual_challenge"
/></noscript>
# </span>
# </div>
# </form>
# '
# expected: '<form action="" method="post">
# <div class="recaptcha">
# <span class="elements">
# <script type="text/javascript">
# //<![CDATA[
# var RecaptchaOptions = {};
# //]]>
# </script>
# <script src="http://api.recaptcha.net/challenge?k=xxx"
type="text/javascript"></script>
# <noscript><iframe frameborder="0" height="300"
src="http://api.recaptcha.net/noscript?k=xxx"
width="500"></iframe><textarea cols="40"
name="recaptcha_challenge_field" rows="3"></textarea><input
name="recaptcha_response_field" type="hidden" value="manual_challenge"
/></noscript>
# </span>
# </div>
# </form>
# '
# Looks like you failed 1 test of 1.
t/elements/recaptcha.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
-------------------
t/elements/recaptcha.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=1, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.35 cusr
0.03 csys = 0.41 CPU)
Result: FAIL