summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2023-05-08 13:56:51 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2023-05-08 12:03:52 +0000
commit41b6ecf502c275713eb97bb59420e5d8c4f7fda5 (patch)
tree1254844f9eaa851b3ebac2edfad68620013a28a2 /tests
parent6f253b06947c3f00f90950d5bbb9f0b4ac24dd00 (diff)
downloadqt-creator-41b6ecf502c275713eb97bb59420e5d8c4f7fda5.tar.gz
Fix environment auto test
Amends 1e1befd9eb6. Change-Id: Iecd06ee06081057208a2b3387d618142dc74d0bd Reviewed-by: Jarek Kobus <jaroslaw.kobus@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 2fd11245f8..1b870ddd6d 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 = HostOsInfo::pathListSeparator();
+ const QString sep = OsSpecificAspects::pathListSeparator(environment.osType());
if (prepend)
environment.prependOrSet(variable, value, sep);