turn on failing test to check an error message

This commit is contained in:
MihailRis 2024-11-26 18:10:45 +03:00
parent edd4170532
commit 5e0d5b6db2

View File

@ -18,7 +18,7 @@ TEST(curltest, curltest) {
std::cout << value << std::endl;
}, [](auto){}
);
if (false) {
if (true) {
auto socket = network->getConnection(network->connect("localhost", 8000));
const char* string = "GET / HTTP/1.1\r\nHost: localhost\r\n\r\n";
socket->send(string, strlen(string));