Nikolay Sivov (@nsivov) commented about dlls/d2d1/tests/d2d1.c:
- check_system_properties(effect);
- count = ID2D1Effect_GetPropertyCount(effect);
- ok(count == 2, "Got unexpected property count %u.\n", count);
- for (i = 0; i < ARRAY_SIZE(properties); ++i)
- {
hr = ID2D1Effect_GetPropertyName(effect, properties[i].index, name, 64);ok(hr == S_OK, "Got unexpected hr %#lx.\n", hr);ok(!wcscmp(name, properties[i].name), "Unexpected name %s.\n", wine_dbgstr_w(name));- }
- vec = effect_get_vec2_prop(effect, D2D1_BRIGHTNESS_PROP_WHITE_POINT);
- ok(vec.x == 1.0f, "got %f.\n", vec.x);
- ok(vec.y == 1.0f, "got %f.\n", vec.y);
Move this to single ok() please, with a message matching existing tests.