summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-04-09 17:04:02 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-04-09 17:04:02 (GMT)
commitba0ab5d3be8c13fb8ddd42c1a399edebbe7acc9c (patch)
treee8da0220ba89ec8083615d83c5c63889cf8207de
parent8f3f5192c8cc6860dc351400b970e62bfe7afdad (diff)
downloadlibkolabxml-ba0ab5d3be8c13fb8ddd42c1a399edebbe7acc9c.tar.gz
Fixed conversiontest for libcur 7.27.0
Apparently this was fixed before 7.27.0
-rw-r--r--tests/conversiontest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conversiontest.cpp b/tests/conversiontest.cpp
index 42b0738..b80c21f 100644
--- a/tests/conversiontest.cpp
+++ b/tests/conversiontest.cpp
@@ -176,8 +176,8 @@ void ConversionTest::mailtoUriEncodingTest_data()
QTest::addColumn<QString>("email");
QTest::addColumn<QString>("name");
QTest::addColumn<QString>("resultEncoded");
- //Older versions used to encode "." and "_". Not sure which version is actually required though (fixed in 7.28.1 but broken in 7.19.7, we're testing for 7.28.1)
- if (LIBCURL_VERSION_NUM >= 0x071c01) {
+ //Older versions used to encode "." and "_". Not sure which version is actually required though (fixed in 7.27.0 but broken in 7.19.7, we're testing for 7.27.0)
+ if (LIBCURL_VERSION_NUM >= 0x071b00) {
QTest::newRow("1") << "email_1@email.com" << "John Doe" << "mailto:John%20Doe%3Cemail_1%40email.com%3E";
QTest::newRow("Reserved characters") << "!*'();:@&=+$,/?#[]@email.com" << "John Doe" << "mailto:John%20Doe%3C%21%2A%27%28%29%3B%3A%40%26%3D%2B%24%2C%2F%3F%23%5B%5D%40email.com%3E";
QTest::newRow("Unreserved characters") << "Aa0-_.~@email.com" << "John Doe" << "mailto:John%20Doe%3CAa0-_.~%40email.com%3E";