summaryrefslogtreecommitdiff
path: root/stoc/test
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-08-19 15:06:40 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-08-19 18:28:14 +0200
commitcc4084cf6da45c358e88d88fdb340de3ae713039 (patch)
treebc6226b431e92986f133e5f140a47129b7e7a9df /stoc/test
parent739c370522df4d48898b924e3c29957054f71a78 (diff)
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@redhat.com>
Diffstat (limited to 'stoc/test')
-rw-r--r--stoc/test/uriproc/test_uriproc.cxx2
1 files changed, 1 insertions, 1 deletions
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" },