Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-01-18 03:47:10 +0400
committerRussell Belfer <rb@github.com>2013-01-18 03:47:10 +0400
commitf63d0ee9fc6fb7335fba6b247675a1ba155d27c1 (patch)
tree905236efe539047b5c66fcfb06f7ceff7e9a9e6e /tests-clar/core
parent75f49ae49b3716873165cba3fa9ea8648c887250 (diff)
Move all non-ascii test data to raw hex
This takes all of the characters in core::env and makes them use hex sequences instead of keeping tricky character data inline in the test.
Diffstat (limited to 'tests-clar/core')
-rw-r--r--tests-clar/core/env.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests-clar/core/env.c b/tests-clar/core/env.c
index 72ef66819..fa48de17e 100644
--- a/tests-clar/core/env.c
+++ b/tests-clar/core/env.c
@@ -16,12 +16,12 @@ static char *env_save[NUM_VARS];
static char *home_values[] = {
"fake_home",
- "fáke_hõme", /* all in latin-1 supplement */
- "fĀke_Ĥome", /* latin extended */
- "fακε_hοmέ", /* having fun with greek */
- "faงe_นome", /* now I have no idea, but thai characters */
+ "f\xc3\xa1ke_h\xc3\xb5me", /* all in latin-1 supplement */
+ "f\xc4\x80ke_\xc4\xa4ome", /* latin extended */
+ "f\xce\xb1\xce\xba\xce\xb5_h\xce\xbfm\xce\xad", /* having fun with greek */
+ "fa\xe0" "\xb8" "\x87" "e_\xe0" "\xb8" "\x99" "ome", /* thai characters */
"f\xe1\x9cx80ke_\xe1\x9c\x91ome", /* tagalog characters */
- "\xe1\xb8\x9fẢke_hoṁe", /* latin extended additional */
+ "\xe1\xb8\x9f\xe1\xba\xa2" "ke_ho" "\xe1" "\xb9" "\x81" "e", /* latin extended additional */
"\xf0\x9f\x98\x98\xf0\x9f\x98\x82", /* emoticons */
NULL
};