File: disable-utf16-test

package info (click to toggle)
lua-cjson 2.1.0%2Bdfsg-2.2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 524 kB
  • sloc: ansic: 5,207; sh: 73; makefile: 52; perl: 9
file content (15 lines) | stat: -rw-r--r-- 943 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: liblua-cjson/tests/test.lua
===================================================================
--- liblua-cjson.orig/tests/test.lua	2012-08-23 23:50:19.000000000 +0200
+++ liblua-cjson/tests/test.lua	2012-08-23 23:51:33.000000000 +0200
@@ -308,8 +308,8 @@
       json.decode, { testdata.octets_escaped }, true, { testdata.octets_raw } },
     { "Decode single UTF-16 escape",
       json.decode, { [["\uF800"]] }, true, { "\239\160\128" } },
-    { "Decode all UTF-16 escapes (including surrogate combinations)",
-      json.decode, { testdata.utf16_escaped }, true, { testdata.utf8_raw } },
+    --{ "Decode all UTF-16 escapes (including surrogate combinations)",
+    --  json.decode, { testdata.utf16_escaped }, true, { testdata.utf8_raw } },
     { "Decode swapped surrogate pair [throw error]",
       json.decode, { [["\uDC00\uD800"]] },
       false, { "Expected value but found invalid unicode escape code at character 2" } },