diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/crow_test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/crow_test.cpp b/src/crow_test.cpp index 0df05d2ad7..1f8360f01c 100644 --- a/src/crow_test.cpp +++ b/src/crow_test.cpp @@ -327,11 +327,11 @@ TEST(Crow, http_method) BMCWEB_ROUTE(app, "/").methods(boost::beast::http::verb::post, boost::beast::http::verb::get)( [](const Request& req) { - if (req.method() == boost::beast::http::verb::get) - return "2"; - else - return "1"; - }); + if (req.method() == boost::beast::http::verb::get) + return "2"; + else + return "1"; + }); BMCWEB_ROUTE(app, "/get_only") .methods(boost::beast::http::verb::get)( |