From 9ac0a33d5fb0888d81c1642ce10e3df585537f03 Mon Sep 17 00:00:00 2001 From: Lukas Holecek Date: Sun, 10 Nov 2024 18:19:14 +0100 Subject: [PATCH] Tests: Avoid testing multiple URIs (behaviour differs based on platform) --- src/tests/tests_other.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tests/tests_other.cpp b/src/tests/tests_other.cpp index 44951faad..f53ee4843 100644 --- a/src/tests/tests_other.cpp +++ b/src/tests/tests_other.cpp @@ -959,7 +959,7 @@ void Tests::clipboardUriList() RUN(script, ""); WAIT_ON_OUTPUT("commands().length", "1\n"); - const QByteArray uris = "https://test1.example.com\nhttps://test2.example.com"; - TEST( m_test->setClipboard(uris, mimeUriList) ); - WAIT_ON_OUTPUT("clipboard(mimeUriList)", uris); + const QByteArray uri = "https://test1.example.com"; + TEST( m_test->setClipboard(uri, mimeUriList) ); + WAIT_ON_OUTPUT("clipboard(mimeUriList)", uri); }