kernel32/tests: Fix ASCII / ANSI mixups in comments.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2021-08-27 12:46:26 +02:00 committed by Alexandre Julliard
parent e87e24a3c1
commit 463850baa6
3 changed files with 6 additions and 6 deletions

View File

@ -144,7 +144,7 @@ static void test_message_from_string_wide(void)
ok(!lstrcmpW(L"test", out), "failed out=%s\n", wine_dbgstr_w(out));
ok(r==4, "failed: r=%d\n", r);
/* S is ascii */
/* S is ansi */
r = doitW(FORMAT_MESSAGE_FROM_STRING, L"%1!S!", 0, 0, out, ARRAY_SIZE(out), "test");
ok(!lstrcmpW(L"test", out), "failed out=%s\n", wine_dbgstr_w(out));
ok(r==4, "failed: r=%d\n", r);
@ -417,7 +417,7 @@ static void test_message_from_string(void)
ok(!strcmp("test", out),"failed out=[%s]\n",out);
ok(r==4,"failed: r=%d\n",r);
/* s is ascii */
/* s is ansi */
r = doit(FORMAT_MESSAGE_FROM_STRING, "%1!s!", 0, 0, out, ARRAY_SIZE(out), "test");
ok(!strcmp("test", out),"failed out=[%s]\n",out);
ok(r==4,"failed: r=%d\n",r);

View File

@ -1952,9 +1952,9 @@ static void test_QueryFullProcessImageNameA(void)
expect_eq_d(4, size);
expect_eq_s(INIT_STR, buf);
/* this is a difference between the ascii and the unicode version
/* this is a difference between the ansi and the unicode version
* the unicode version crashes when the size is big enough to hold
* the result while the ascii version throws an error
* the result while the ansi version throws an error
*/
size = 1024;
expect_eq_d(FALSE, pQueryFullProcessImageNameA(GetCurrentProcess(), 0, NULL, &size));

View File

@ -150,7 +150,7 @@ static void test_profile_string(void)
WriteFile( h, content2, sizeof(content2), &count, NULL);
CloseHandle( h);
/* works only in unicode, ascii crashes */
/* works only in unicode, ansi crashes */
ret=GetPrivateProfileStringW(emptyW, keyW, emptyW, bufW, ARRAY_SIZE(bufW), TESTFILE2W);
todo_wine
ok(ret == 13, "expected 13, got %u\n", ret);
@ -158,7 +158,7 @@ static void test_profile_string(void)
ok(!lstrcmpW(valsectionW,bufW), "expected %s, got %s\n",
wine_dbgstr_w(valsectionW), wine_dbgstr_w(bufW) );
/* works only in unicode, ascii crashes */
/* works only in unicode, ansi crashes */
ret=GetPrivateProfileStringW(sW, emptyW, emptyW, bufW, ARRAY_SIZE(bufW), TESTFILE2W);
ok(ret == 10, "expected 10, got %u\n", ret);
ok(!lstrcmpW(valnokeyW,bufW), "expected %s, got %s\n",