user32/tests: Skip checks if pre-condition does not match.
This commit is contained in:
parent
1110f17581
commit
57384b7a1c
|
@ -91,6 +91,7 @@ static void test_LoadStringA (void)
|
||||||
|
|
||||||
ok (len == expected, "bufsiz=%d: got %d, expected %d\n",
|
ok (len == expected, "bufsiz=%d: got %d, expected %d\n",
|
||||||
bufsiz, len, expected);
|
bufsiz, len, expected);
|
||||||
|
if (len != expected) continue;
|
||||||
ok (!memcmp (buf, str, len),
|
ok (!memcmp (buf, str, len),
|
||||||
"bufsiz=%d: got '%s', expected '%.*s'\n",
|
"bufsiz=%d: got '%s', expected '%.*s'\n",
|
||||||
bufsiz, buf, len, str);
|
bufsiz, buf, len, str);
|
||||||
|
|
Loading…
Reference in New Issue