diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-06-07 14:56:03 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-06-07 14:56:03 +0000 |
commit | 8e254d8e0d0820716e0ccf5f2b89c4fd1325f051 (patch) | |
tree | 46dcd152dd0427f629f00c75fd63166baea993e7 /localedata/tests-mbwc | |
parent | 9e54314bb06aace405553552f7e7b7d8c172968c (diff) | |
download | glibc-8e254d8e0d0820716e0ccf5f2b89c4fd1325f051.tar.gz glibc-8e254d8e0d0820716e0ccf5f2b89c4fd1325f051.tar.xz glibc-8e254d8e0d0820716e0ccf5f2b89c4fd1325f051.zip |
Remove trailing whitespace from localedata.
Diffstat (limited to 'localedata/tests-mbwc')
-rw-r--r-- | localedata/tests-mbwc/dat_mblen.c | 14 | ||||
-rw-r--r-- | localedata/tests-mbwc/dat_towctrans.c | 36 |
2 files changed, 25 insertions, 25 deletions
diff --git a/localedata/tests-mbwc/dat_mblen.c b/localedata/tests-mbwc/dat_mblen.c index 507ab8f35c..a5eff44052 100644 --- a/localedata/tests-mbwc/dat_mblen.c +++ b/localedata/tests-mbwc/dat_mblen.c @@ -80,11 +80,11 @@ TST_MBLEN tst_mblen_loc [] = { { { 1, "a", USE_MBCURMAX }, { 0, 1, 1 } }, /* 03: a character + an invalid byte. */ { { 1, "Z\204", USE_MBCURMAX }, { 0, 1, +1 } }, - /* 04: control/invalid characters. */ + /* 04: control/invalid characters. */ { { 1, "\177\000", USE_MBCURMAX }, { 0, 1, +1 } }, - /* 05: a null string. */ + /* 05: a null string. */ { { 1, "", USE_MBCURMAX }, { 0, 1, 0 } }, - /* 06: a null pointer. */ + /* 06: a null pointer. */ { { 0, "", USE_MBCURMAX }, { 0, 0, 0 } }, /* Last element. */ { .is_last = 1 } @@ -95,15 +95,15 @@ TST_MBLEN tst_mblen_loc [] = { { /* 01: a character. */ { { 1, "\264\301", USE_MBCURMAX }, { 0, 1, 2 } }, - /* 02: a character. */ + /* 02: a character. */ { { 1, "\216\261", USE_MBCURMAX }, { 0, 1, 2 } }, - /* 03: a character + an invalid byte. */ + /* 03: a character + an invalid byte. */ { { 1, "\260\241\200", USE_MBCURMAX }, { 0, 1, 2 } }, /* 04: control/invalid characters. */ { { 1, "\377\202", USE_MBCURMAX }, { EILSEQ, 1, -1 } }, - /* 05: a null string. */ + /* 05: a null string. */ { { 1, "", USE_MBCURMAX }, { 0, 1, 0 } }, - /* 06: a null pointer. */ + /* 06: a null pointer. */ { { 0, "", USE_MBCURMAX }, { 0, 0, 0 } }, /* Last element. */ { .is_last = 1 } diff --git a/localedata/tests-mbwc/dat_towctrans.c b/localedata/tests-mbwc/dat_towctrans.c index 6816af9c03..e7fe1dc028 100644 --- a/localedata/tests-mbwc/dat_towctrans.c +++ b/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 } }, |