ICUTest: style and output formatting fixes

This commit is contained in:
Adrien Destugues
2014-09-29 18:37:48 +02:00
parent 9d1cbc67a6
commit 27a2d2c7ef
+4 -2
View File
@@ -53,7 +53,7 @@ void TestLocale(const Locale& loc)
int
main(int argc, char **argv)
{
printf("--------\niDefault Locale\n--------\n");
printf("--------\nDefault Locale\n--------\n");
Locale defaultLocale;
TestLocale(defaultLocale);
printf("--------\nFrench Locale\n--------\n");
@@ -76,8 +76,10 @@ main(int argc, char **argv)
printf("--------\nLocale country codes\n--------\n");
const char* const* countryTable = Locale::getISOCountries();
for (int i=0; countryTable[i] != NULL; i++)
for (int i=0; countryTable[i] != NULL; i++) {
if (i % 10 == 0) puts("");
printf("%s\t", countryTable[i]);
}
printf("\n--------\nNumberFormat\n--------\n");
printf("--------\nDateFormat\n--------\n");