glib/tests/utf8-validate: add another test for invalid continuation bytes

This would have caught the regression committed in the course of
bug #738504.
This commit is contained in:
Mikhail Zabaluev 2015-09-12 11:38:04 +03:00 committed by Matthias Clasen
parent d1f4d4a91a
commit 8ab28b448b

View File

@ -84,6 +84,7 @@ Test test[] = {
/* continuation bytes */
{ "\x80", -1, 0, FALSE },
{ "\xbf", -1, 0, FALSE },
{ "\xbf\x80", -1, 0, FALSE },
{ "\x80\xbf", -1, 0, FALSE },
{ "\x80\xbf\x80", -1, 0, FALSE },
{ "\x80\xbf\x80\xbf", -1, 0, FALSE },