shlwapi/tests: Fix some typos.

This commit is contained in:
Paul Vriens 2009-03-03 21:42:32 +01:00 committed by Alexandre Julliard
parent 0faa6ab7da
commit a86566cb91
1 changed files with 3 additions and 3 deletions

View File

@ -393,10 +393,10 @@ static void test_PathCombineW(void)
wszString2[0] = 'a'; wszString2[0] = 'a';
wszString = pPathCombineW(wszString2, NULL, NULL); wszString = pPathCombineW(wszString2, NULL, NULL);
ok (wszString == NULL || ok (wszString == NULL ||
broken(wszString[0] = 'a'), /* Win95 and some W2K */ broken(wszString[0] == 'a'), /* Win95 and some W2K */
"Expected a NULL return\n"); "Expected a NULL return\n");
ok (wszString2[0] == 0 || ok (wszString2[0] == 0 ||
broken(wszString2[0] = 'a'), /* Win95 and some W2K */ broken(wszString2[0] == 'a'), /* Win95 and some W2K */
"Destination string not empty\n"); "Destination string not empty\n");
HeapFree(GetProcessHeap(), 0, wszString2); HeapFree(GetProcessHeap(), 0, wszString2);
@ -411,7 +411,7 @@ static void test_PathCombineW(void)
wszString = pPathCombineW(wbuf, wstr1, wstr2); wszString = pPathCombineW(wbuf, wstr1, wstr2);
ok(wszString == NULL, "Expected a NULL return\n"); ok(wszString == NULL, "Expected a NULL return\n");
ok(wbuf[0] == 0 || ok(wbuf[0] == 0 ||
broken(wbuf[0] = 0xbfbf), /* Win95 and some W2K */ broken(wbuf[0] == 0xbfbf), /* Win95 and some W2K */
"Buffer contains data\n"); "Buffer contains data\n");
/* PathCombineW can be used in place */ /* PathCombineW can be used in place */