[Libreoffice-commits] core.git: stoc/test

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Mon Aug 19 16:28:58 UTC 2019


 stoc/test/uriproc/test_uriproc.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cc4084cf6da45c358e88d88fdb340de3ae713039
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Aug 19 15:06:40 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Aug 19 18:28:14 2019 +0200

    Make test code more readable
    
    `absolute` has the same value as `uriReference` here, so replace it with nullptr
    as is done in all the other cases where those values are the same.
    
    Change-Id: I81e2842921b99f9c9a4c847a46e74300b5e527ab
    Reviewed-on: https://gerrit.libreoffice.org/77720
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/stoc/test/uriproc/test_uriproc.cxx b/stoc/test/uriproc/test_uriproc.cxx
index c1ab0f0d89e3..a3f45a98476d 100644
--- a/stoc/test/uriproc/test_uriproc.cxx
+++ b/stoc/test/uriproc/test_uriproc.cxx
@@ -640,7 +640,7 @@ void Test::testMakeRelative() {
         { "scheme://a", "scheme://a/?q", true, true, false, "?q",
           "scheme://a?q" },
         { "scheme://a/", "scheme://a/?q", true, true, false, "?q",
-          "scheme://a/?q" },
+          nullptr },
         { "scheme://a?q", "scheme://a?q", true, true, false, "", nullptr },
         { "scheme://a/?q", "scheme://a?q", true, true, false, "",
           "scheme://a/?q" },


More information about the Libreoffice-commits mailing list