Commit 57384b7a authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

user32/tests: Skip checks if pre-condition does not match.

parent 1110f175
...@@ -91,6 +91,7 @@ static void test_LoadStringA (void) ...@@ -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);
......
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