diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2023-04-06 18:31:47 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2023-05-05 15:17:10 +0000 |
commit | 1e1befd9eb608322bab41ee214c97d65af65066e (patch) | |
tree | 9990d5496dd28cffbe770eece8e633e3e7f3bcb6 /tests | |
parent | fe45294357c91385a09bb3bc914e7047081218b1 (diff) | |
download | qt-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.cpp | 2 |
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); |