From 3da9c2c75199ad5401ab8680086a8224b3ce0a6e Mon Sep 17 00:00:00 2001 From: Andrew Guz Date: Thu, 9 Jan 2025 12:55:51 +0300 Subject: [PATCH] Review points --- tests/unittest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unittest.cpp b/tests/unittest.cpp index 2ed0e0820..ece43cd7f 100644 --- a/tests/unittest.cpp +++ b/tests/unittest.cpp @@ -3204,8 +3204,8 @@ TEST_CASE("mirror_websocket_subprotocols") { static std::string http_message = "GET /ws HTTP/1.1\r\nConnection: keep-alive, Upgrade\r\nupgrade: websocket\r\nSec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==\r\nSec-WebSocket-Protocol: protocol1, protocol2\r\nSec-WebSocket-Version: 13\r\nHost: localhost\r\n\r\n"; - static websocket::connection* connection = nullptr; - static bool connected{false}; + websocket::connection* connection = nullptr; + bool connected{false}; SimpleApp app;