patch-test_iconv_lua 592 B

12345678910111213141516171819
  1. $OpenBSD: patch-test_iconv_lua,v 1.1.1.1 2016/11/02 12:30:39 fcambus Exp $
  2. Fix encoding names and remove test for unsupported encoding
  3. --- test_iconv.lua.orig Tue Oct 25 21:39:29 2016
  4. +++ test_iconv.lua Tue Oct 25 21:39:51 2016
  5. @@ -93,9 +93,8 @@ function check_one(to, from, text)
  6. end
  7. check_one(termcs, "iso-8859-1", iso88591)
  8. -check_one(termcs, "utf8", utf8)
  9. -check_one(termcs, "utf16", utf16)
  10. -check_one(termcs, "EBCDIC-CP-ES", ebcdic)
  11. +check_one(termcs, "utf-8", utf8)
  12. +check_one(termcs, "utf-16", utf16)
  13. -- The library must never crash the interpreter, even if the user tweaks