diff options
| author | Vicent Marti <tanoku@gmail.com> | 2013-11-01 17:07:44 +0100 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2013-11-01 17:36:09 +0100 |
| commit | 0bfa73234263de03e5f797c2f4c514def145433a (patch) | |
| tree | 229fc54b09b13cd6283a513edfd0174f4d12641f /tests-clar/repo/init.c | |
| parent | 95352b7058fe3166689e5af0b3b0a38e7c6f63a0 (diff) | |
| download | libgit2-0bfa73234263de03e5f797c2f4c514def145433a.tar.gz | |
iconv: Do not fake an API when iconv is not available
Diffstat (limited to 'tests-clar/repo/init.c')
| -rw-r--r-- | tests-clar/repo/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests-clar/repo/init.c b/tests-clar/repo/init.c index 617fdf879..aea383c64 100644 --- a/tests-clar/repo/init.c +++ b/tests-clar/repo/init.c @@ -232,6 +232,7 @@ void test_repo_init__detect_ignorecase(void) void test_repo_init__detect_precompose_unicode_required(void) { +#ifdef GIT_USE_ICONV char *composed = "ḱṷṓn", *decomposed = "ḱṷṓn"; struct stat st; bool found_with_nfd; @@ -240,7 +241,6 @@ void test_repo_init__detect_precompose_unicode_required(void) found_with_nfd = (p_stat(decomposed, &st) == 0); cl_must_pass(p_unlink(composed)); -#ifdef GIT_USE_ICONV assert_config_entry_on_init("core.precomposeunicode", found_with_nfd); #else assert_config_entry_on_init("core.precomposeunicode", GIT_ENOTFOUND); |
