Debian Codegraph @

debian/patches/disable-utf16-test

raw
1 Index: liblua-cjson/tests/test.lua
2 ===================================================================
3 --- liblua-cjson.orig/tests/test.lua 2012-08-23 23:50:19.000000000 +0200
4 +++ liblua-cjson/tests/test.lua 2012-08-23 23:51:33.000000000 +0200
5 @@ -308,8 +308,8 @@
6 json.decode, { testdata.octets_escaped }, true, { testdata.octets_raw } },
7 { "Decode single UTF-16 escape",
8 json.decode, { [["\uF800"]] }, true, { "\239\160\128" } },
9 - { "Decode all UTF-16 escapes (including surrogate combinations)",
10 - json.decode, { testdata.utf16_escaped }, true, { testdata.utf8_raw } },
11 + --{ "Decode all UTF-16 escapes (including surrogate combinations)",
12 + -- json.decode, { testdata.utf16_escaped }, true, { testdata.utf8_raw } },
13 { "Decode swapped surrogate pair [throw error]",
14 json.decode, { [["\uDC00\uD800"]] },
15 false, { "Expected value but found invalid unicode escape code at character 2" } },