2
0
mirror of https://github.com/boostorg/url.git synced 2026-01-24 06:22:14 +00:00

segments refactoring

This commit is contained in:
Vinnie Falco
2021-09-25 19:14:45 -07:00
parent 9737783672
commit 4bbbc15ecc
31 changed files with 3763 additions and 694 deletions

View File

@@ -10,7 +10,7 @@
// Test that header file is self-contained.
#include <boost/url/string.hpp>
#include <boost/static_assert.hpp>
#include "test_suite.hpp"
namespace boost {
namespace urls {
@@ -20,5 +20,23 @@ BOOST_STATIC_ASSERT(is_stringlike<
std::string_view>::value);
#endif
class string_test
{
public:
void
run()
{
string_value sv("hello");
auto sv2 = sv;
BOOST_TEST(sv2 == sv);
sv = {};
BOOST_TEST(sv2 != sv);
}
};
TEST_SUITE(
string_test,
"boost.url.string");
} // urls
} // boost