Closed voxik closed 11 years ago
$ testrb -I.:lib test Run options: -I.:lib # Running tests: [107/108] TestXmlEscaping#test_utf8_verbatim = 0.00 s 1) Failure: test_utf8_verbatim(TestXmlEscaping) [/builddir/build/BUILD/rubygem-builder-3.1.4/usr/share/gems/gems/builder-3.1.4/test/test_xchar.rb:72]: <"’"> expected but was <"\xE2\x80\x99">. Finished tests in 0.035375s, 3052.9897 tests/s, 5936.3689 assertions/s. 108 tests, 210 assertions, 1 failures, 0 errors, 0 skips ruby -v: ruby 2.0.0dev (2013-02-14 trunk 39237) [x86_64-linux]
It can be fixed by adding encoding directive # encoding: us-ascii on the second line, not sure that is the right approach though.
# encoding: us-ascii
Thanks.
It can be fixed by adding encoding directive
# encoding: us-ascii
on the second line, not sure that is the right approach though.