summaryrefslogtreecommitdiff
path: root/test/http/utility_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/http/utility_test.cpp')
-rw-r--r--test/http/utility_test.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/http/utility_test.cpp b/test/http/utility_test.cpp
index 411ecebcb4..f5ae5b1b5e 100644
--- a/test/http/utility_test.cpp
+++ b/test/http/utility_test.cpp
@@ -163,7 +163,10 @@ TEST(Router, ParameterTagging)
{
EXPECT_EQ(1, getParameterTag("<str>"));
EXPECT_EQ(1, getParameterTag("<string>"));
- EXPECT_EQ(2, getParameterTag("<path>"));
+ EXPECT_EQ(1, getParameterTag("<path>"));
+ EXPECT_EQ(2, getParameterTag("<str>/<str>"));
+ EXPECT_EQ(2, getParameterTag("<string>/<string>"));
+ EXPECT_EQ(2, getParameterTag("<path>/<path>"));
}
TEST(URL, JsonEncoding)