msvcrt/tests: Add setlocale test.

Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Daniel Lehman 2018-05-01 14:04:04 -07:00 committed by Alexandre Julliard
parent 67cae2dedc
commit 642e0917d5
1 changed files with 3 additions and 0 deletions

View File

@ -614,6 +614,9 @@ static void test_setlocale(void)
ret = setlocale(LC_ALL, "English_United States.UTF8");
ok(ret == NULL, "ret != NULL\n");
ret = setlocale(LC_ALL, "en-US");
ok(ret == NULL || broken (ret != NULL), "ret != NULL\n"); /* XP & 2003 */
}
static void test_crtGetStringTypeW(void)