Commit e2458a88 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

winhttp/tests: Fix a test failure.

parent 88a34c74
...@@ -3608,7 +3608,7 @@ static void test_websocket(int port) ...@@ -3608,7 +3608,7 @@ static void test_websocket(int port)
error = pWinHttpWebSocketReceive(socket, buf, sizeof(buf), &count, &type); error = pWinHttpWebSocketReceive(socket, buf, sizeof(buf), &count, &type);
ok(!error, "got %lu\n", error); ok(!error, "got %lu\n", error);
ok(buf[0] == 'R', "got %c\n", buf[0]); 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); 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); error = pWinHttpWebSocketSend(socket, WINHTTP_WEB_SOCKET_BINARY_MESSAGE_BUFFER_TYPE, NULL, 1);
......
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