Skip to content
This repository was archived by the owner on Apr 2, 2020. It is now read-only.

Commit 692f12f

Browse files
committed
Update libs/network/test/uri/uri_test.cpp
1 parent fb8d986 commit 692f12f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

libs/network/test/uri/uri_test.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
// Copyright 2009, 2010, 2011, 2012 Dean Michael Berris, Jeroen Habraken, Glyn Matthews, Fredrik Olofsson.
1+
// Copyright 2009, 2010, 2011 Dean Michael Berris, Jeroen Habraken, Glyn Matthews
2+
// Copyright 2012 Fredrik Olofsson
23
// Distributed under the Boost Software License, Version 1.0.
34
// (See accompanying file LICENSE_1_0.txt of copy at
45
// http://www.boost.org/LICENSE_1_0.txt)
@@ -468,9 +469,15 @@ BOOST_AUTO_TEST_CASE(issue_104_test) {
468469
BOOST_AUTO_TEST_CASE(normalize_empty_string) {
469470
BOOST_CHECK_EQUAL(uri::normalize(""), "/");
470471
}
472+
471473
BOOST_AUTO_TEST_CASE(normalize_backslash_string) {
472474
BOOST_CHECK_EQUAL(uri::normalize("../../../"), "/");
473475
}
476+
474477
BOOST_AUTO_TEST_CASE(normalize_relative_string) {
475478
BOOST_CHECK_EQUAL(uri::normalize("/test/test/test/../test2"), "/test/test/test2");
479+
}
480+
481+
BOOST_AUTO_TEST_CASE(normalize_slashend_string) {
482+
BOOST_CHECK_EQUAL(uri::normalize("/test/"), "/test");
476483
}

0 commit comments

Comments
 (0)