From 268bd85752b8ae76132d5f290cc2155793831f9c Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Fri, 21 Dec 2018 11:54:48 +0100 Subject: [PATCH] Url#m_Query: test order preservation refs #6536 --- test/remote-url.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/remote-url.cpp b/test/remote-url.cpp index 892685bb9..6675a56dd 100644 --- a/test/remote-url.cpp +++ b/test/remote-url.cpp @@ -83,17 +83,17 @@ BOOST_AUTO_TEST_CASE(get_and_set) BOOST_AUTO_TEST_CASE(parameters) { - Url::Ptr url = new Url("https://icinga.com/hya/?rain=karl&rair=robert&foo[]=bar"); + Url::Ptr url = new Url("https://icinga.com/hya/?rair=robert&rain=karl&foo[]=bar"); auto query (url->GetQuery()); BOOST_CHECK(query.size() == 3); - BOOST_CHECK(query[0].first == "rain"); - BOOST_CHECK(query[0].second == "karl"); + BOOST_CHECK(query[0].first == "rair"); + BOOST_CHECK(query[0].second == "robert"); - BOOST_CHECK(query[1].first == "rair"); - BOOST_CHECK(query[1].second == "robert"); + BOOST_CHECK(query[1].first == "rain"); + BOOST_CHECK(query[1].second == "karl"); BOOST_CHECK(query[2].first == "foo"); BOOST_CHECK(query[2].second == "bar"); -- 2.40.0