mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
check_vio_ext.c: assert_string_equal is a macro and we cannot have #ifdef in it
This commit is contained in:
parent
6e32c2c14e
commit
499e13377d
1 changed files with 6 additions and 6 deletions
|
@ -445,14 +445,14 @@ static void check_readdir_bigunicode(void **state)
|
|||
|
||||
int files_cnt = 0;
|
||||
traverse_dir(state, CSYNC_TEST_DIR, &files_cnt);
|
||||
assert_string_equal( sv->result,
|
||||
"<DIR> C:/tmp/csync_test/goodone"
|
||||
const char *expected_result = "<DIR> C:/tmp/csync_test/goodone"
|
||||
#ifndef __APPLE__
|
||||
// On Mac, iconv will not return some files with fancy unicode.
|
||||
// Linux is not so picky about it and return everything and let the sync engine deal with it.
|
||||
"<DIR> C:/tmp/csync_test/goodone/ugly\xEF\xBB\xBF\x32" ".txt"
|
||||
// On Mac, iconv will not return some files with fancy unicode.
|
||||
// Linux is not so picky about it and return everything and let the sync engine deal with it.
|
||||
"<DIR> C:/tmp/csync_test/goodone/ugly\xEF\xBB\xBF\x32" ".txt"
|
||||
#endif
|
||||
);
|
||||
;
|
||||
assert_string_equal( sv->result, expected_result);
|
||||
|
||||
#ifdef __APPLE__
|
||||
// Bad one is recognized though.. !
|
||||
|
|
Loading…
Reference in a new issue