yaz: fix encoding issue in test

This commit is contained in:
Jack Nagel 2014-06-04 15:38:47 -05:00
parent 8a57c99c9f
commit 1cdaec9af8

View file

@ -31,6 +31,7 @@ class Yaz < Formula
end
result = `"#{bin}/yaz-iconv" -f marc8 -t utf8 marc8.txt`.chomp
result.force_encoding(Encoding::UTF_8) if result.respond_to?(:force_encoding)
assert_equal "世界こんにちは!", result
end
end