polished up event loop changes
Some checks failed
Docker Build & Publish / build (push) Failing after 55m49s

This commit is contained in:
Nicholas Orlowsky 2025-02-21 18:24:28 -05:00
parent 058c395095
commit 409024e04a
18 changed files with 354 additions and 428 deletions

View file

@ -1,9 +1,10 @@
#include <gtest/gtest.h>
#include <fstream>
#include "../lib/http/request.hpp"
#include <boost/beast.hpp>
#include <fstream>
#include <gtest/gtest.h>
TEST(unit_tests, single_request_parse) {
TEST(unit_tests, single_request_parse)
{
std::ifstream t("./test_files/test_request.http");
std::stringstream buffer;
buffer << t.rdbuf();
@ -11,7 +12,7 @@ TEST(unit_tests, single_request_parse) {
std::string raw_req = buffer.str();
std::string expected = buffer.str();
anthracite::http::request req (raw_req, "0.0.0.0");
anthracite::http::request req(raw_req, "0.0.0.0");
ASSERT_EQ(expected, req.to_string());
}