Removed redundant regression tests
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@120 a809a056-fc17-0410-9590-b4f493f8b08e
This commit is contained in:
parent
5d8b75cd6b
commit
26b3524f45
1 changed files with 0 additions and 7 deletions
|
@ -50,13 +50,6 @@ check (!is_valid(udbff_dc00, udbff_dc00 + 6));
|
|||
|
||||
unsigned char udbff_dfff[] = {0xed, 0xaf, 0xbf, 0xed, 0xbf, 0xbf};
|
||||
check (!is_valid(udbff_dfff, udbff_dfff + 6));
|
||||
|
||||
// Other illegal code points
|
||||
unsigned char ufffe[] = {0xef, 0xbf, 0xbe};
|
||||
check (!is_valid(ufffe, ufffe + 3));
|
||||
|
||||
unsigned char uffff[] = {0xef, 0xbf, 0xbf};
|
||||
check (!is_valid(uffff, uffff + 3));
|
||||
}
|
||||
|
||||
// [ 1525236 ] utf8::is_valid does not detect overlong sequences
|
||||
|
|
Loading…
Reference in a new issue