tests/conversiontest.cpp

Christian Mollekopf mollekopf at kolabsys.com
Thu Jul 4 01:06:27 CEST 2013


 tests/conversiontest.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 930aeabbed9b9694fe23a5e3c3156e3c5b85724a
Author: Christian Mollekopf <mollekopf at kolabsys.com>
Date:   Thu Jul 4 01:04:21 2013 +0200

    Fix tests with libcurl 7.26.0
    
    Thanks to Sergey Sidlyarenko  for the patch.
    
    BUG: 2003

diff --git a/tests/conversiontest.cpp b/tests/conversiontest.cpp
index b80c21f..bc858d0 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.27.0 but broken in 7.19.7, we're testing for 7.27.0)
-    if (LIBCURL_VERSION_NUM >= 0x071b00) {
+    //Older versions used to encode "." and "_". Not sure which version is actually required though (fixed in 7.26.0 but broken in 7.19.7, we're testing for 7.26.0)
+    if (LIBCURL_VERSION_NUM >= 0x071a00) {
         QTest::newRow("1") << "email_1 at 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";





More information about the commits mailing list