Alexandre Julliard : reg/tests: Avoid non-portable Unicode chars.
Module: wine Branch: master Commit: ce7c4b58b20fed6bcadd37363402fd0523071a7a URL: http://source.winehq.org/git/wine.git/?a=commit;h=ce7c4b58b20fed6bcadd373634... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Fri Aug 12 12:45:16 2016 +0900 reg/tests: Avoid non-portable Unicode chars. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- programs/reg/tests/reg.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/programs/reg/tests/reg.c b/programs/reg/tests/reg.c index bd5695f..fb5edbc 100644 --- a/programs/reg/tests/reg.c +++ b/programs/reg/tests/reg.c @@ -872,36 +872,36 @@ static void test_import(void) ok(r == REG_EXIT_FAILURE || broken(r == REG_EXIT_SUCCESS) /* WinXP */, "got exit code %d, expected 1\n", r); - test_import_wstr("\uFEFFWindows Registry Editor Version 5\n", &r); + test_import_wstr("\xef\xbb\xbfWindows Registry Editor Version 5\n", &r); ok(r == REG_EXIT_FAILURE || broken(r == REG_EXIT_SUCCESS) /* WinXP */, "got exit code %d, expected 1\n", r); - test_import_wstr("\uFEFFWindows Registry Editor Version 5.00\n", &r); + test_import_wstr("\xef\xbb\xbfWindows Registry Editor Version 5.00\n", &r); todo_wine ok(r == REG_EXIT_SUCCESS, "got exit code %d, expected 0\n", r); - test_import_wstr("\uFEFFWINDOWS Registry Editor Version 5.00\n", &r); + test_import_wstr("\xef\xbb\xbfWINDOWS Registry Editor Version 5.00\n", &r); ok(r == REG_EXIT_FAILURE || broken(r == REG_EXIT_SUCCESS) /* WinXP */, "got exit code %d, expected 1\n", r); - test_import_wstr(" \uFEFFWindows Registry Editor Version 5.00\n", &r); + test_import_wstr(" \xef\xbb\xbfWindows Registry Editor Version 5.00\n", &r); ok(r == REG_EXIT_FAILURE || broken(r == REG_EXIT_SUCCESS) /* WinXP */, "got exit code %d, expected 1\n", r); - test_import_wstr("\t\uFEFFWindows Registry Editor Version 5.00\n", &r); + test_import_wstr("\t\xef\xbb\xbfWindows Registry Editor Version 5.00\n", &r); ok(r == REG_EXIT_FAILURE || broken(r == REG_EXIT_SUCCESS) /* WinXP */, "got exit code %d, expected 1\n", r); - test_import_wstr("\n\uFEFFWindows Registry Editor Version 5.00\n", &r); + test_import_wstr("\n\xef\xbb\xbfWindows Registry Editor Version 5.00\n", &r); ok(r == REG_EXIT_FAILURE || broken(r == REG_EXIT_SUCCESS) /* WinXP */, "got exit code %d, expected 1\n", r); - test_import_wstr("\uFEFF Windows Registry Editor Version 5.00\n", &r); + test_import_wstr("\xef\xbb\xbf Windows Registry Editor Version 5.00\n", &r); todo_wine ok(r == REG_EXIT_SUCCESS, "got exit code %d, expected 0\n", r); - test_import_wstr("\uFEFF\tWindows Registry Editor Version 5.00\n", &r); + test_import_wstr("\xef\xbb\xbf\tWindows Registry Editor Version 5.00\n", &r); todo_wine ok(r == REG_EXIT_SUCCESS, "got exit code %d, expected 0\n", r); - test_import_wstr("\uFEFF\nWindows Registry Editor Version 5.00\n", &r); + test_import_wstr("\xef\xbb\xbf\nWindows Registry Editor Version 5.00\n", &r); ok(r == REG_EXIT_FAILURE || broken(r == REG_EXIT_SUCCESS) /* WinXP */, "got exit code %d, expected 1\n", r); }
participants (1)
-
Alexandre Julliard