Zhiyi Zhang (@zhiyi) commented about dlls/user32/tests/edit.c:
}
}
+struct state_tests +{
- int style;
- int style_ex;
- RECT input;
+};
+static void test_small_rect(void) +{
- struct state_tests tests[6];
You can declare the test data like this ``` static const struct { DWORD style; DWORD ex_style; RECT rect; } tests[] = { {ES_MULTILINE | WS_VISIBLE, 0, {0, 0, 0, 0}}, {ES_MULTILINE | WS_VISIBLE, 0, {0, 0, 10, 10}}, ... }; ```