mirror of
https://github.com/reactos/wine.git
synced 2024-12-02 00:36:43 +00:00
kernel32/tests: Actually test a return value (PVS-Studio).
This commit is contained in:
parent
bd9d41080f
commit
dbe6c5576d
@ -2111,6 +2111,7 @@ static void test_readfileex_pending(void)
|
||||
num_bytes = 0xdeadbeef;
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = ReadFile(server, read_buf, 0, &num_bytes, &overlapped);
|
||||
ok(!ret, "ReadFile should fail\n");
|
||||
todo_wine
|
||||
ok(GetLastError() == ERROR_IO_PENDING, "expected ERROR_IO_PENDING, got %d\n", GetLastError());
|
||||
ok(num_bytes == 0, "bytes %u\n", num_bytes);
|
||||
|
Loading…
Reference in New Issue
Block a user