summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2023-04-06 18:31:47 +0200
committerAlessandro Portale <alessandro.portale@qt.io>2023-05-05 15:17:10 +0000
commit1e1befd9eb608322bab41ee214c97d65af65066e (patch)
tree9990d5496dd28cffbe770eece8e633e3e7f3bcb6 /tests
parentfe45294357c91385a09bb3bc914e7047081218b1 (diff)
downloadqt-creator-1e1befd9eb608322bab41ee214c97d65af65066e.tar.gz
Proliferate pathListSeparator()
Change-Id: I546107af6a88ad5901659a0a64485e4ebca3a164 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/environment/tst_environment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/environment/tst_environment.cpp b/tests/auto/environment/tst_environment.cpp
index 8aa0cbe063..2fd11245f8 100644
--- a/tests/auto/environment/tst_environment.cpp
+++ b/tests/auto/environment/tst_environment.cpp
@@ -363,7 +363,7 @@ void tst_Environment::pathChanges()
QFETCH(QString, value);
QFETCH(Environment, expected);
- const QString sep = environment.osType() == OsTypeWindows ? ";" : ":";
+ const QString sep = HostOsInfo::pathListSeparator();
if (prepend)
environment.prependOrSet(variable, value, sep);