ICU-865 One case where codepage specific characters were not needed

X-SVN-Rev: 3915
This commit is contained in:
George Rhoten 2001-03-06 03:52:35 +00:00
parent 439b875346
commit b303ca9f41

View File

@ -1138,13 +1138,13 @@ static void TestStringCopy()
charOut[2] = (char)0x7B; charOut[2] = (char)0x7B;
charOut[3] = (char)0x7B; charOut[3] = (char)0x7B;
temp[0] = 'a'; /* load codepage specific string into it */ temp[0] = 0x0061;
temp[1] = 'b'; temp[1] = 0x0062;
temp[2] = 'c'; temp[2] = 0x0063;
temp[3] = 'a'; temp[3] = 0x0061;
temp[4] = 'b'; temp[4] = 0x0062;
temp[5] = 'c'; temp[5] = 0x0063;
temp[6] = '\0'; temp[6] = 0x0000;
u_austrncpy(charOut, temp, 3); u_austrncpy(charOut, temp, 3);
if(strncmp(chars, charOut, 3) != 0){ if(strncmp(chars, charOut, 3) != 0){