Skip Menu |

This queue is for tickets about the HTML-FormFu CPAN distribution.

Report information
The Basics
Id: 59779
Status: resolved
Priority: 0/
Queue: HTML-FormFu

People
Owner: Nobody in particular
Requestors: jonathan [...] leto.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.07002
Fixed in: (no value)



Subject: t/elements/recaptcha.t fails
The test about reCAPTCHAs fails: $ prove -Ilib -v t/elements/recaptcha.t t/elements/recaptcha.t .. 1..1 not ok 1 - stringified form # 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. 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.23 cusr 0.04 csys = 0.30 CPU) Result: FAIL This is with Perl 5.10.1 on Ubuntu Linux.
This is a duplicate of RT#59467 (resolved) (sorry, can't figure out how to merge this with another ticket). The fix will be included in the next cpan release