Commit a0c390de authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

shell32: Fix a test failure in test_DataObject().

Fixes: b6128bbb
parent ec441703
......@@ -5457,7 +5457,7 @@ static void test_DataObject(void)
medium.hGlobal = global;
fmt.tymed = TYMED_HGLOBAL;
hr = IDataObject_SetData(data_obj, &fmt, &medium, FALSE);
ok(hr == E_INVALIDARG, "Got hr %#lx.\n", hr);
ok(hr == E_INVALIDARG || hr == E_NOTIMPL /* win 8+ */, "Got hr %#lx.\n", hr);
hr = IDataObject_SetData(data_obj, &fmt, &medium, TRUE);
ok(hr == S_OK, "Got hr %#lx.\n", hr);
......
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