[test-buffer] Add test for lonely low-surrogate

Currenty fails.  Ouch!
This commit is contained in:
Behdad Esfahbod 2014-07-10 19:31:16 -04:00
parent 6334495ac1
commit 24b2ba9dfa
1 changed files with 1 additions and 0 deletions

View File

@ -704,6 +704,7 @@ static const utf16_conversion_test_t utf16_conversion_tests[] = {
{{0x41, 0xD800, 0xDF02}, {-1}},
{{0x41, 0x61, 0xD800, 0xDF02}, {0x61, -1}},
{{0x41, 0xD800, 0x61, 0xDF02}, {-1, 0x61}},
{{0x41, 0xDF00, 0x61}, {-1}},
{{0x41, 0x61}, {0}}
};