mirror of
https://github.com/boostorg/url.git
synced 2026-02-20 03:02:14 +00:00
committed by
Vinnie Falco
parent
3d52de5a02
commit
51d0db2565
@@ -156,11 +156,25 @@ public:
|
||||
BOOST_TEST_EQ(u.encoded_fragment(), "frag");
|
||||
}
|
||||
|
||||
void
|
||||
testOstream()
|
||||
{
|
||||
{
|
||||
static_url<64> u = parse_uri(
|
||||
"http://example.com/index.htm?q#f").value();
|
||||
std::stringstream ss;
|
||||
ss << u;
|
||||
BOOST_TEST(ss.str() ==
|
||||
"http://example.com/index.htm?q#f");
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
run()
|
||||
{
|
||||
testSpecial();
|
||||
testParts();
|
||||
testOstream();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user