mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 12:40:02 +00:00
ICU-900 Fixed some compiler warnings
X-SVN-Rev: 4775
This commit is contained in:
parent
88ac94a221
commit
d6829894d8
1 changed files with 9 additions and 1 deletions
|
@ -368,7 +368,15 @@ static void TestErrorBehaviour(){
|
|||
if(!convertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0]),
|
||||
expected, sizeof(expected), "ibm-1362", 0, FALSE, U_ZERO_ERROR))
|
||||
log_err("u-> ibm-1362 [UCNV_DBCS] is supposed to fail\n");
|
||||
|
||||
|
||||
if(!convertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0]),
|
||||
expected, sizeof(expected), "ibm-1362", offsets, TRUE, U_TRUNCATED_CHAR_FOUND))
|
||||
log_err("u-> ibm-1362 [UCNV_DBCS] is supposed to fail\n");
|
||||
if(!convertFromU(sampleText, sizeof(sampleText)/sizeof(sampleText[0]),
|
||||
expected, sizeof(expected), "ibm-1362", offsets, FALSE, U_ZERO_ERROR))
|
||||
log_err("u-> ibm-1362 [UCNV_DBCS] is supposed to fail\n");
|
||||
|
||||
|
||||
if(!convertFromU(sampleText2, sizeof(sampleText2)/sizeof(sampleText2[0]),
|
||||
expected2, sizeof(expected2), "ibm-1362", 0, TRUE, U_ZERO_ERROR))
|
||||
log_err("u-> ibm-1362 [UCNV_DBCS] did not match \n");
|
||||
|
|
Loading…
Add table
Reference in a new issue