diff options
Diffstat (limited to 'trust/test-utf8.c')
-rw-r--r-- | trust/test-utf8.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/trust/test-utf8.c b/trust/test-utf8.c index 9b2c3d5..324975d 100644 --- a/trust/test-utf8.c +++ b/trust/test-utf8.c @@ -221,6 +221,8 @@ test_utf8_fail (void) { "Good news everyone\x88", -1 }, { "Bad \xe0v following chars should be |0x80", -1 }, { "Truncated \xe0", -1 }, + { "Surrogate \xed\xa0\x80", -1, }, + { "Out of range \xf4\x90\x80\x80", -1, }, }; for (i = 0; i < ELEMS (fixtures); i++) { |