Nikolay Sivov (@nsivov) commented about dlls/riched20/tests/editor.c:
SendMessageW(richedit, EM_GETPARAFORMAT, 0, (LPARAM)&pf); ok(pf.wAlignment == align_mask[i], "got %d expect %ld\n", pf.wAlignment, align_mask[i]);
/* Test out of bounds tab count */
pf.cTabCount = -25000;
SendMessageW(richedit, EM_SETPARAFORMAT, 0, (LPARAM)&pf);
ok(pf.cTabCount == -25000, "Got %d\n", pf.cTabCount);
pf.cTabCount = 25000;
SendMessageW(richedit, EM_SETPARAFORMAT, 0, (LPARAM)&pf);
ok(pf.cTabCount == 25000, "Got %d\n", pf.cTabCount);
It makes more sense to test EM_GET* results here.