kernel32/tests: Update product type test.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
84b0ed9161
commit
e87ced67c8
|
@ -87,7 +87,7 @@ static void test_GetProductInfo(void)
|
||||||
res = pGetProductInfo(entry[0], entry[1], entry[2], entry[3], &product);
|
res = pGetProductInfo(entry[0], entry[1], entry[2], entry[3], &product);
|
||||||
|
|
||||||
if (entry[0] >= 6)
|
if (entry[0] >= 6)
|
||||||
ok(res && (product > PRODUCT_UNDEFINED) && (product <= PRODUCT_PROFESSIONAL_WMC),
|
ok(res && (product > PRODUCT_UNDEFINED) && (product <= PRODUCT_ENTERPRISE_S_N_EVALUATION),
|
||||||
"got %d and 0x%x (expected TRUE and a valid PRODUCT_* value)\n", res, product);
|
"got %d and 0x%x (expected TRUE and a valid PRODUCT_* value)\n", res, product);
|
||||||
else
|
else
|
||||||
ok(!res && !product && (GetLastError() == 0xdeadbeef),
|
ok(!res && !product && (GetLastError() == 0xdeadbeef),
|
||||||
|
|
Loading…
Reference in New Issue