Commit 463850ba authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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

parent e87e24a3
......@@ -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);
......
......@@ -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));
......
......@@ -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",
......
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