winhttp/tests: Fix a test failure.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54960
This commit is contained in:
Hans Leidekker 2023-05-22 08:42:43 +02:00 committed by Alexandre Julliard
parent 88a34c74b0
commit e2458a88c8

View file

@ -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);