Subject: | Tests fails when building with HTML::Tree (>= 4.0) |
Date: | Sun, 5 Dec 2010 16:23:01 +0100 |
To: | bug-Class-DBI-AsForm [...] rt.cpan.org |
From: | Salvatore Bonaccorso <carnil [...] cpan.org> |
Hi
Building Class-DBI-AsForm with using HTML::Tree (>= 4.0) tests fail.
This seems related to the following change in HTML::Tree 4.0:
4.0 Mon Sep 20 2010
[THINGS THAT MAY BREAK YOUR CODE OR TESTS]
* Changes to entity encoding from ord values to XML entities may break
tests expecting � style encoding.
* Attribute names are now validated in as_XML and invalid names will
cause an error.
The failures are:
# Failed test 'Select OK'
# at t/01.t line 43.
# got: '<select name="bar"><option
# value="1">Hi</option></select>'
# expected: '<select name="bar"><option
# value=1>Hi</option></select>
# '
# Failed test 'All correct as an object method'
# at t/01.t line 54.
# Structures begin differing at:
# $got->{bar} = '<select name="bar"><option selected
# value="1">Hi</option></select>'
# $expected->{bar} = '<select name="bar"><option selected
# value=1>Hi</option></select>
# '
# Looks like you failed 2 tests of 4.
t/01.t ............
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/4 subtests
t/pod-coverage.t .. ok
t/pod.t ........... ok
Test Summary Report
-------------------
t/01.t (Wstat: 512 Tests: 4 Failed: 2)
Failed tests: 3-4
Non-zero exit status: 2
Files=3, Tests=6, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.28 cusr
0.01 csys = 0.31 CPU)
Result: FAIL
Failed 1/3 test programs. 2/6 subtests failed.
make[1]: *** [test_dynamic] Error 255
Bests and thanks!
Salvatore
Message body not shown because it is not plain text.