diff options
Diffstat (limited to 'unittest.cpp')
-rw-r--r-- | unittest.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/unittest.cpp b/unittest.cpp index eec119e..e4f8105 100644 --- a/unittest.cpp +++ b/unittest.cpp @@ -220,6 +220,14 @@ TEST(simple_response_routing_params) ASSERT_EQUAL("hello", rp.get<string>(0)); } +TEST(handler_with_response) +{ + Crow app; + CROW_ROUTE(app, "/")([](const crow::request&, crow::response&) + { + }); +} + TEST(server_handling_error_request) { static char buf[2048]; |