From 093833a785cb25faf4afe3b5652c7598d778866f Mon Sep 17 00:00:00 2001 From: JellyBrick Date: Fri, 8 Jun 2018 16:41:28 +0900 Subject: Resolve Travis-CI test --- test/tgbot/net/HttpParser.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/tgbot/net/HttpParser.cpp b/test/tgbot/net/HttpParser.cpp index 9272736..d0a3703 100644 --- a/test/tgbot/net/HttpParser.cpp +++ b/test/tgbot/net/HttpParser.cpp @@ -91,10 +91,10 @@ BOOST_AUTO_TEST_CASE(parseRequest) { "\r\n" "testdata"; - map tHeaders; + unordered_map tHeaders; string t = HttpParser::getInstance().parseRequest(data, tHeaders); - map eHeaders = { + unordered_map eHeaders = { { "method", "POST" }, { "path", "/index.html" }, { "host", "example.com" }, @@ -118,10 +118,10 @@ BOOST_AUTO_TEST_CASE(parseResponse) { "\r\n" "testdata"; - map tHeaders; + unordered_map tHeaders; string t = HttpParser::getInstance().parseResponse(data, tHeaders); - map eHeaders = { + unordered_map eHeaders = { { "status", "200" }, { "content-type", "text/plain" }, { "content-length", "8" } -- cgit v1.2.3