mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-20 20:19:32 +00:00
ICU-5366 Allow this test to work in non-English locales.
X-SVN-Rev: 20633
This commit is contained in:
parent
18645b2f6d
commit
f1c3ea3982
1 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ static void TestFileFromICU(UFILE *myFile) {
|
|||
fprintf(u_fgetfile(myFile), "\tNormal fprintf count value: n=%d\n", (int)*n); /* Should be 27 as stated later on. */
|
||||
|
||||
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 == NULL) {
|
||||
log_err("Can't read test file.");
|
||||
|
@ -310,7 +310,7 @@ static void TestFile(void) {
|
|||
/* FILE *standardFile;*/
|
||||
|
||||
log_verbose("Testing u_fopen\n");
|
||||
TestFileFromICU(u_fopen(STANDARD_TEST_FILE, "w", NULL, NULL));
|
||||
TestFileFromICU(u_fopen(STANDARD_TEST_FILE, "w", "en_US_POSIX", NULL));
|
||||
|
||||
/* Don't know how to make this work without stdout or stderr */
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue