reg/tests: Avoid non-portable Unicode chars.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2016-08-12 12:45:16 +09:00
parent 79e95afbc3
commit ce7c4b58b2
1 changed files with 9 additions and 9 deletions

View File

@ -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);
}