Module: wine Branch: stable Commit: b465683ed23f61516a0e06f8976347fe5b108f66 URL: https://gitlab.winehq.org/wine/wine/-/commit/b465683ed23f61516a0e06f8976347f...
Author: Hans Leidekker hans@codeweavers.com Date: Mon May 22 08:42:43 2023 +0200
winhttp/tests: Fix a test failure.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54960 (cherry picked from commit e2458a88c8482669e66f192dfac9af11aa5e483e)
---
dlls/winhttp/tests/winhttp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/winhttp/tests/winhttp.c b/dlls/winhttp/tests/winhttp.c index 76f12837e86..ce2ce795209 100644 --- a/dlls/winhttp/tests/winhttp.c +++ b/dlls/winhttp/tests/winhttp.c @@ -3608,7 +3608,7 @@ static void test_websocket(int port) error = pWinHttpWebSocketReceive(socket, buf, sizeof(buf), &count, &type); ok(!error, "got %lu\n", error); ok(buf[0] == 'R', "got %c\n", buf[0]); - ok(count == 26, "got %lu\n", count); + ok(count, "got zero count\n"); ok(type == WINHTTP_WEB_SOCKET_UTF8_MESSAGE_BUFFER_TYPE, "got %u\n", type);
error = pWinHttpWebSocketSend(socket, WINHTTP_WEB_SOCKET_BINARY_MESSAGE_BUFFER_TYPE, NULL, 1);