mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
fixed test due to changed URI::encode() behavior
This commit is contained in:
parent
cab98f4895
commit
4b9e9c44b3
@ -91,8 +91,8 @@ void HTTPCookieTest::testCookie()
|
||||
|
||||
void HTTPCookieTest::testEscape()
|
||||
{
|
||||
std::string escaped = HTTPCookie::escape("this is a test!");
|
||||
assert (escaped == "this%20is%20a%20test!");
|
||||
std::string escaped = HTTPCookie::escape("this is a test.");
|
||||
assert (escaped == "this%20is%20a%20test.");
|
||||
|
||||
escaped = HTTPCookie::escape("\n\t@,;\"'");
|
||||
assert (escaped == "%0A%09@%2C%3B%22%27");
|
||||
|
Loading…
Reference in New Issue
Block a user