summaryrefslogtreecommitdiff
path: root/tests/path
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2018-05-24 21:58:40 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2018-05-24 21:58:40 +0200
commit57e343d7924ca83a117e94a7ebe45bf7cdfd2723 (patch)
tree6fc4ca97f7b394399755c39fa90a286ad1002c7f /tests/path
parent9e723db877f3c310f826f517ebe509722aad22eb (diff)
downloadlibgit2-57e343d7924ca83a117e94a7ebe45bf7cdfd2723.tar.gz
path: hand-code the zero-width joiner as UTF-8
Diffstat (limited to 'tests/path')
-rw-r--r--tests/path/dotgit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/path/dotgit.c b/tests/path/dotgit.c
index cad1e2586..20e585edb 100644
--- a/tests/path/dotgit.c
+++ b/tests/path/dotgit.c
@@ -4,7 +4,11 @@
static char *gitmodules_altnames[] = {
".gitmodules",
- ".git\u200cmodules",
+ /*
+ * Equivalent to the ".git\u200cmodules" string from git but hard-coded
+ * as a UTF-8 sequence
+ */
+ ".git\xe2\x80\x8cmodules",
".Gitmodules",
".gitmoduleS",