mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 16:11:42 +00:00
-sync kernel32_winetest with wine 1.1.32
svn path=/trunk/; revision=43744
This commit is contained in:
parent
01a9e7493e
commit
abc34f7dad
15 changed files with 451 additions and 295 deletions
|
@ -131,8 +131,10 @@ static void test_negative_source_length(void)
|
|||
SetLastError( 0xdeadbeef );
|
||||
memset(buf,'x',sizeof(buf));
|
||||
len = WideCharToMultiByte(CP_ACP, 0, foobarW, -2002, buf, 10, NULL, NULL);
|
||||
ok(len == 7 && !lstrcmpA(buf, "foobar") && GetLastError() == 0xdeadbeef,
|
||||
ok(len == 7 && GetLastError() == 0xdeadbeef,
|
||||
"WideCharToMultiByte(-2002): len=%d error=%u\n", len, GetLastError());
|
||||
ok(!lstrcmpA(buf, "foobar"),
|
||||
"WideCharToMultiByte(-2002): expected \"foobar\" got \"%s\"\n", buf);
|
||||
|
||||
SetLastError( 0xdeadbeef );
|
||||
memset(bufW,'x',sizeof(bufW));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue