mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-4125 Fix a test typo
X-SVN-Rev: 16412
This commit is contained in:
parent
9777ef9aae
commit
d078ffb611
1 changed files with 4 additions and 4 deletions
|
@ -1217,7 +1217,7 @@ static void Test_u_vfprintf(const char *expectedResult, const char *format, ...)
|
|||
int32_t count;
|
||||
UFILE *myFile;
|
||||
|
||||
myFile = u_fopen(STANDARD_TEST_FILE, "w", NULL, "UTF-8");
|
||||
myFile = u_fopen(STANDARD_TEST_FILE, "w", "en_US_POSIX", "UTF-8");
|
||||
if (!myFile) {
|
||||
log_err("Test file can't be opened\n");
|
||||
return;
|
||||
|
@ -1230,7 +1230,7 @@ static void Test_u_vfprintf(const char *expectedResult, const char *format, ...)
|
|||
u_fclose(myFile);
|
||||
|
||||
|
||||
myFile = u_fopen(STANDARD_TEST_FILE, "r", NULL, "UTF-8");
|
||||
myFile = u_fopen(STANDARD_TEST_FILE, "r", "en_US_POSIX", "UTF-8");
|
||||
if (!myFile) {
|
||||
log_err("Test file can't be opened\n");
|
||||
return;
|
||||
|
@ -1243,7 +1243,7 @@ static void Test_u_vfprintf(const char *expectedResult, const char *format, ...)
|
|||
u_fclose(myFile);
|
||||
|
||||
|
||||
myFile = u_fopen(STANDARD_TEST_FILE, "w", NULL, NULL);
|
||||
myFile = u_fopen(STANDARD_TEST_FILE, "w", "en_US_POSIX", NULL);
|
||||
if (!myFile) {
|
||||
log_err("Test file can't be opened\n");
|
||||
return;
|
||||
|
@ -1257,7 +1257,7 @@ static void Test_u_vfprintf(const char *expectedResult, const char *format, ...)
|
|||
u_fclose(myFile);
|
||||
|
||||
|
||||
myFile = u_fopen(STANDARD_TEST_FILE, "r", NULL, NULL);
|
||||
myFile = u_fopen(STANDARD_TEST_FILE, "r", "en_US_POSIX", NULL);
|
||||
if (!myFile) {
|
||||
log_err("Test file can't be opened\n");
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue