mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-07 02:36:43 +00:00
style: clang-tidy auto fixes (#2958)
Co-authored-by: godexsoft <385326+godexsoft@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
2d6f82c27f
commit
af736717fc
@@ -46,10 +46,11 @@ struct NgErrorHandlingTests : public virtual ::testing::Test {
|
||||
static Request
|
||||
makeRequest(bool isHttp, std::optional<std::string> body = std::nullopt)
|
||||
{
|
||||
if (isHttp)
|
||||
if (isHttp) {
|
||||
return Request{
|
||||
http::request<http::string_body>{http::verb::post, "/", 11, body.value_or("")}
|
||||
};
|
||||
}
|
||||
static Request::HttpHeaders const kHEADERS;
|
||||
return Request{body.value_or(""), kHEADERS};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user