aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoripknHama <ipknhama@gmail.com>2014-10-24 01:20:19 +0900
committeripknHama <ipknhama@gmail.com>2014-10-24 01:20:19 +0900
commit023455ba58cabfc7afc3e99c399c7c25c0a643cb (patch)
treecce7ad53099c562d117f8fd5007206a928deca5a /tests
parent5c5c8fb4f59a1235e5093056814f7d272c049ab5 (diff)
downloadcrow-023455ba58cabfc7afc3e99c399c7c25c0a643cb.tar.gz
crow-023455ba58cabfc7afc3e99c399c7c25c0a643cb.zip
add building test for crow_all.h
Diffstat (limited to 'tests')
-rw-r--r--tests/unittest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unittest.cpp b/tests/unittest.cpp
index 1a15742..4dec727 100644
--- a/tests/unittest.cpp
+++ b/tests/unittest.cpp
@@ -863,6 +863,7 @@ TEST(simple_url_params)
ASSERT_TRUE(last_url_params.get("missing") == nullptr);
ASSERT_TRUE(last_url_params.get("foobar") != nullptr);
+ ASSERT_TRUE(last_url_params.get_list("missing").empty());
}
// check multiple presence
sendmsg = "GET /params?foo&bar&baz\r\n\r\n";