Skip Menu |

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

Report information
The Basics
Id: 99281
Status: open
Priority: 0/
Queue: HTML-Widget

People
Owner: Nobody in particular
Requestors: steshriv [...] cisco.com
Cc:
AdminCc:

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



Subject: tests fail on make test
Date: Thu, 2 Oct 2014 21:12:54 +0000
To: "bug-HTML-Widget [...] rt.cpan.org" <bug-HTML-Widget [...] rt.cpan.org>
From: "Steven Shriver -X (steshriv - INSIGHT GLOBAL INC at Cisco)" <steshriv [...] cisco.com>
Hey, These should be super easy to fix: 1. t/04basic.t # Failed test 'JavScript XML output is ok' # at t/04basic.t line 85. # got: '<script type="text/javascript"> # <!-- # # //--> # </script>' # expected: '<script type="text/javascript"> # <!-- # # //--> # </script> # ' # Looks like you failed 1 test of 36. Possible solution in t/04basic.t is to add a new line: 85 is( $c->javascript_xml . "\n", <<EOF, 'JavScript XML output is ok' ); 2. t/06bugs_xml_escape.t # Failed test '' # at t/06bugs_xml_escape.t line 26. # '<form id="widget" method="post"><fieldset class="widget_fieldset"><input class="textfield" id="widget_foo" name="foo" type="text" value="é" /><input class="hidden" id="widget_bar" name="bar" type="hidden" value="&quot; foo &gt;" /></fieldset></form> # ' # doesn't match '(?^:value="&#34; foo &#62;")' # Looks like you failed 1 test of 2. Looks like you encode to names instead of numerically. 3. t/07custom_render.t # Failed test 'JavScript XML output is ok' # at t/07custom_render.t line 122. # got: '<script type="text/javascript"> # <!-- # # //--> # </script>' # expected: '<script type="text/javascript"> # <!-- # # //--> # </script> # ' # Looks like you failed 1 test of 46. Looks like the same problem as in 04basic.t where the HEREDOC ending produces a new line that your code does not. 122 is( $c->javascript_xml . "\n", <<EOF, 'JavScript XML output is ok' ); Hope this helps! Smile, Steve [http://www.cisco.com/web/europe/images/email/signature/logo03.jpg] Steven Shriver Engineer - Software Information Technology steshriv@cisco.com<mailto:steshriv@cisco.com> Phone: +1 919 392 2467 Cisco.com<http://www.cisco.com> [Think before you print.]Think before you print. This email may contain confidential and privileged material for the sole use of the intended recipient. Any review, use, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/index.html

Message body is not shown because it is too large.

Download image001.jpg
image/jpeg 5.2k
image001.jpg
Download image002.png
image/png 174b
image002.png
On 2014-10-02 14:13:08, steshriv@cisco.com wrote: Show quoted text
> Hey, > > These should be super easy to fix:
It's been 10 years since the last release... is there any hope from any of the comaintainers that these test failures could be fixed?