Summary: | dev-libs/hpricot-0.8.4-r1 fails tests (with ruby:1.9) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nathan Phillip Brink (binki) (RETIRED) <binki> |
Component: | [OLD] Library | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
hpricot-0.8.4-r1-build.log
emerge--info.txt |
Created attachment 286507 [details]
emerge--info.txt
These tests fail because LANG=C. Fixed in hpricot 1.8.5. |
Created attachment 286505 [details] hpricot-0.8.4-r1-build.log Excerpts from the build.log seem to indicate that these test failures are related to the change in handing character encodings from ruby:1.8 to ruby:1.9: 1) Error: test_encoding_compatibility_error(TestParser): ArgumentError: invalid byte sequence in US-ASCII ... 2) Error: test_scan_boingboing(TestParser): ArgumentError: invalid byte sequence in US-ASCII ... 3) Failure: test_files(TestPreserved) [test/test_preserved.rb:61]: <"8 Schandmaul - Magda Treadgolds M\xC3\xA4rchen<br>\n"> expected but was <"8 Schandmaul - Magda Treadgolds M\u00E4rchen<br>\n">.