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

This commit is contained in:
Marcus Meissner 2008-03-22 19:11:33 +01:00 committed by Alexandre Julliard
parent 1110f17581
commit 57384b7a1c
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ static void test_LoadStringA (void)
ok (len == expected, "bufsiz=%d: got %d, expected %d\n",
bufsiz, len, expected);
if (len != expected) continue;
ok (!memcmp (buf, str, len),
"bufsiz=%d: got '%s', expected '%.*s'\n",
bufsiz, buf, len, str);