about summary refs log tree commit diff
path: root/localedata/tests-mbwc/dat_wcsrtombs.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-03-28 15:50:07 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-04-17 16:12:41 -0300
commitedae9c07c2b3449103a76ae77cc12732f604c248 (patch)
tree75628838e7e0adc9eb282331cabfe9c0b0a7b1d0 /localedata/tests-mbwc/dat_wcsrtombs.c
parent033cbb8ef89a9aab92e0102d3d0186b810b18b59 (diff)
downloadglibc-edae9c07c2b3449103a76ae77cc12732f604c248.tar.gz
glibc-edae9c07c2b3449103a76ae77cc12732f604c248.tar.xz
glibc-edae9c07c2b3449103a76ae77cc12732f604c248.zip
localedata: Use hexadecimal character escape on tests
Instead of latin1 ones.
Diffstat (limited to 'localedata/tests-mbwc/dat_wcsrtombs.c')
-rw-r--r--localedata/tests-mbwc/dat_wcsrtombs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/localedata/tests-mbwc/dat_wcsrtombs.c b/localedata/tests-mbwc/dat_wcsrtombs.c
index d3148b2a55..e98a533485 100644
--- a/localedata/tests-mbwc/dat_wcsrtombs.c
+++ b/localedata/tests-mbwc/dat_wcsrtombs.c
@@ -26,26 +26,26 @@ TST_WCSRTOMBS tst_wcsrtombs_loc [] = {
       },
       /* #02 : Only one chars should be stored in s. No null termination.  */
       { /*input.*/ { 1,1,	{ 0x00C4,0x00D6,0x00DC,0x0000 }, 1, 0, 0 },
-	/*expect*/ { 0,1,1,	 "Ä"					 },
+	/*expect*/ { 0,1,1,	 "\xc4"					 },
       },
       /* #03 : Only two chars should be stored in s. No null termination.  */
       { /*input.*/ { 1,1,	{ 0x00C4,0x00D6,0x00DC,0x0000 }, 2, 0, 0 },
-	/*expect*/ { 0,1,2,	 "ÄÖ"					 },
+	/*expect*/ { 0,1,2,	 "\xc4\xd6"				 },
       },
       /* #04 : Only three chars should be stored in s. No null
 	       termination.  */
       { /*input.*/ { 1,1,	{ 0x00C4,0x00D6,0x00DC,0x0000 }, 3, 0, 0 },
-	/*expect*/ { 0,1,3,	 "ÄÖÜ"					 },
+	/*expect*/ { 0,1,3,	 "\xc4\xd6\xdc"				 },
       },
       /* #05 : Only three chars should be stored in s with a null
 	       termination. */
       { /*input.*/ { 1,1,	{ 0x00C4,0x00D6,0x00DC,0x0000 }, 4, 0, 0 },
-	/*expect*/ { 0,1,3,	 "ÄÖÜ"					 },
+	/*expect*/ { 0,1,3,	 "\xc4\xd6\xdc"				 },
       },
       /* #06 : Only three chars should be stored in s with a null
 	       termination. */
       { /*input.*/ { 1,1,	{ 0x00C4,0x00D6,0x00DC,0x0000 }, 5, 0, 0 },
-	/*expect*/ { 0,1,3,	 "ÄÖÜ"					 },
+	/*expect*/ { 0,1,3,	 "\xc4\xd6\xdc"				 },
       },
       /* #07 : Invalid mb sequence. No chars should be stored in s.  */
       { /*input.*/ { 1,1,	{ 0x0201,0x0221,0x0000,0x0000 }, 2, 0, 0 },