windows.globalization/tests: Fix the GetUserDefaultGeoName() test on Win10 1709.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0e0f3ef872
commit
08c6114fbb
|
@ -108,8 +108,10 @@ static void test_GlobalizationPreferences(void)
|
|||
if (pGetUserDefaultGeoName)
|
||||
{
|
||||
WCHAR country[16];
|
||||
pGetUserDefaultGeoName(country, ARRAY_SIZE(country));
|
||||
ok(wcslen(country) == len && !memcmp(buf, country, len),
|
||||
DWORD geolen;
|
||||
geolen = pGetUserDefaultGeoName(country, ARRAY_SIZE(country));
|
||||
ok(broken(geolen == 1) || /* Win10 1709 */
|
||||
(wcslen(country) == len && !memcmp(buf, country, len)),
|
||||
"IGlobalizationPreferencesStatics_get_HomeGeographicRegion returned len %u, str %s, expected %s\n",
|
||||
len, wine_dbgstr_w(buf), wine_dbgstr_w(country));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue