Commit cba98a2d authored by Alexandre Julliard's avatar Alexandre Julliard

ole32/tests: Fix a test failure on newer Windows versions.

parent be2b45ce
......@@ -463,8 +463,9 @@ static void test_varianttoproperty(void)
0, FALSE, 0);
ok(propvalue == own_propvalue, "unexpected propvalue %p\n", propvalue);
ok(len == 0, "unexpected length %d\n", len);
ok(propvalue->dwType == 0xdeadbeef, "unexpected type %d\n", propvalue->dwType);
ok(len == 4 || broken(len == 0) /* before Vista */, "unexpected length %d\n", len);
if (len) ok(!memcmp(propvalue, serialized_empty, 4), "got wrong data\n");
else ok(propvalue->dwType == 0xdeadbeef, "unexpected type %d\n", propvalue->dwType);
propvar.vt = VT_NULL;
len = 20;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment