From 7ed2b4457b4d89f8937484b88d5c57908172801d Mon Sep 17 00:00:00 2001 From: ntrifunovic Date: Sun, 20 Feb 2011 21:02:33 +0000 Subject: [PATCH] Fixed the negative test to reflect the latest changes in detecting invalid utf-8 text git-svn-id: http://svn.code.sf.net/p/utfcpp/code@121 a809a056-fc17-0410-9590-b4f493f8b08e --- test_drivers/negative/negative.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_drivers/negative/negative.cpp b/test_drivers/negative/negative.cpp index ea64cce..0f1015d 100644 --- a/test_drivers/negative/negative.cpp +++ b/test_drivers/negative/negative.cpp @@ -7,7 +7,7 @@ using namespace utf8; #include using namespace std; -const unsigned INVALID_LINES[] = { 75, 76, 82, 83, 84, 85, 93, 102, 103, 105, 106, 107, 108, 109, 110, 114, 115, 116, 117, 124, 125, 130, 135, 140, 145, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 169, 175, 176, 177, 207, 208, 209, 210, 211, 220, 221, 222, 223, 224, 232, 233, 234, 235, 236, 247, 248, 249, 250, 251, 252, 253, 257, 258, 259, 260, 261, 262, 263, 264}; +const unsigned INVALID_LINES[] = { 75, 76, 83, 84, 85, 93, 102, 103, 105, 106, 107, 108, 109, 110, 114, 115, 116, 117, 124, 125, 130, 135, 140, 145, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 169, 175, 176, 177, 207, 208, 209, 210, 211, 220, 221, 222, 223, 224, 232, 233, 234, 235, 236, 247, 248, 249, 250, 251, 252, 253, 257, 258, 259, 260, 261, 262, 263, 264}; const unsigned* INVALID_LINES_END = INVALID_LINES + sizeof(INVALID_LINES)/sizeof(unsigned); int main(int argc, char** argv)