summaryrefslogtreecommitdiff
path: root/libc/localedata/tests-mbwc/dat_towctrans.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/localedata/tests-mbwc/dat_towctrans.c')
-rw-r--r--libc/localedata/tests-mbwc/dat_towctrans.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/libc/localedata/tests-mbwc/dat_towctrans.c b/libc/localedata/tests-mbwc/dat_towctrans.c
index 6816af9c0..e7fe1dc02 100644
--- a/libc/localedata/tests-mbwc/dat_towctrans.c
+++ b/libc/localedata/tests-mbwc/dat_towctrans.c
@@ -40,9 +40,9 @@ TST_TOWCTRANS tst_towctrans_loc [] = {
{
#ifdef SHOJI_IS_RIGHT
{ { 0x0010, "xxxxxxx" }, { EINVAL,1,0x0010 } },
-#else
+#else
{ { 0x0010, "xxxxxxx" }, { 0, 1,0x0010 } },
-#endif
+#endif
{ { 0x007F, "tolower" }, { 0, 1,0x007F } },
{ { 0x0061, "toupper" }, { 0, 1,0x0041 } },
{ { 0x0041, "tolower" }, { 0, 1,0x0061 } },
@@ -54,32 +54,32 @@ TST_TOWCTRANS tst_towctrans_loc [] = {
{
#ifdef SHOJI_IS_RIGHT
{ { 0x0010, "tojkata" }, { EINVAL,1,0x0010 } },
-#else
+#else
{ { 0x0010, "tojkata" }, { 0, 1,0x0010 } },
-#endif
+#endif
{ { 0x0080, "tolower" }, { 0, 1,0x0080 } },
{ { 0x00EC, "toupper" }, { 0, 1,0x00CC } },
{ { 0x00CC, "tolower" }, { 0, 1,0x00EC } },
- { .is_last = 1 }
- }
- },
- {
- { Ttowctrans, TST_LOC_enUS },
- {
-#ifdef SHOJI_IS_RIGHT
+ { .is_last = 1 }
+ }
+ },
+ {
+ { Ttowctrans, TST_LOC_enUS },
+ {
+#ifdef SHOJI_IS_RIGHT
{ { 0x0010, "xxxxxxx" }, { EINVAL,1,0x0010 } },
-#else
+#else
{ { 0x0010, "xxxxxxx" }, { 0, 1,0x0010 } },
-#endif
+#endif
{ { 0x007F, "tolower" }, { 0, 1,0x007F } },
{ { 0x0061, "toupper" }, { 0, 1,0x0041 } },
{ { 0x0041, "tolower" }, { 0, 1,0x0061 } },
- { .is_last = 1 }
- }
- },
- {
+ { .is_last = 1 }
+ }
+ },
+ {
{ Ttowctrans, TST_LOC_eucJP },
- {
+ {
{ { 0xFF21, "tolower" }, { 0, 1,0xFF41 } },
{ { 0xFF41, "toupper" }, { 0, 1,0xFF21 } },
{ { 0x30A1, "tojhira" }, { 0, 1,0x3041 } },