Skip to content

Commit

Permalink
formatting reverted to original
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitriy Zaytsev committed Jan 16, 2025
1 parent b1aea20 commit 4fdfefa
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/unittest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ class HttpClient
HttpClient(std::string const& address, uint16_t port):
c(ic)
{
c.connect(asio::ip::tcp::endpoint(asio::ip::make_address(address),
port));
c.connect( asio::ip::tcp::endpoint(asio::ip::make_address(address),
port));
}

/** sends a request string through the socket */
Expand Down Expand Up @@ -674,8 +674,8 @@ TEST_CASE("server_handling_error_request_http_version")
try
{
auto resp = HttpClient::request(LOCALHOST_ADDRESS,
45451,
"POST /\r\nContent-Length:3\r\nX-HeaderTest: 123\r\n\r\nA=B\r\n");
45451,
"POST /\r\nContent-Length:3\r\nX-HeaderTest: 123\r\n\r\nA=B\r\n");
FAIL_CHECK();
}
catch (std::exception& e)
Expand Down Expand Up @@ -2415,6 +2415,7 @@ TEST_CASE("multipart")

CHECK(res.code == 400);
CHECK(res.body == "Empty boundary in multipart message");

}

//Boundary that differs from actual boundary
Expand Down

0 comments on commit 4fdfefa

Please sign in to comment.