Subject: | Test fails due to encode issues |
Building HTML::Form fails on my machine with Perl5.14.2. The following
is the output of
prove -vl t/form.t
(stripped down to only contain the error line):
not ok 15
# Test 15 got: "POST http://localhost/\nContent-Length: 75\nContent-
Type: application/x-www-form-urlencoded\n
\ni.x=1&i.y=1&c=on&r=b&t=&p=&h=xyzzy&f=&x=&a=%0D%0Aabc%0D%0A
+++&s=bar&m=a&m=b\n" (t/form.t at line 82)
# Expected: "POST http://localhost/\nContent-Length: 69\nContent-
Type: application/x-www-form-urlencoded\n
\ni.x=1&i.y=1&c=on&r=b&t=&p=&h=xyzzy&f=&x=&a=%0Aabc%0A+++&s=bar&m=a&m=b
\n"
# Line 2 is changed:
# - "Content-Length: 69\n"
# + "Content-Length: 75\n"
# Line 5 is changed:
# - "i.x=1&i.y=1&c=on&r=b&t=&p=&h=xyzzy&f=&x=&a=%0Aabc%0A
+++&s=bar&m=a&m=b\n"
# + "i.x=1&i.y=1&c=on&r=b&t=&p=&h=xyzzy&f=&x=&a=%0D%0Aabc%0D%0A
+++&s=bar&m=a&m=b\n"
# t/form.t line 82 is: ok($f->click->as_string, <<'EOT');