aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2019-09-12 10:29:55 +0200
committerChristian Stenger <christian.stenger@qt.io>2019-09-12 08:50:22 +0000
commit6808c891fb9a088e89513e97bb3c0a93ef5f421c (patch)
tree07e89b91d712b3fc63dd6b36fcdde21150cf7150
parent31e00882230165f4d7293d59bac2386967900a85 (diff)
Tests: Fix expectation for parent of COM port
Keep expected path in line with result when using QFileInfo. Change-Id: I8d323212d1627b81de01582c368a4e9ffbba734c Reviewed-by: Orgad Shaneh <orgads@gmail.com>
-rw-r--r--tests/auto/utils/fileutils/tst_fileutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/utils/fileutils/tst_fileutils.cpp b/tests/auto/utils/fileutils/tst_fileutils.cpp
index 2102bd0f06..c13db0bf55 100644
--- a/tests/auto/utils/fileutils/tst_fileutils.cpp
+++ b/tests/auto/utils/fileutils/tst_fileutils.cpp
@@ -63,7 +63,7 @@ void tst_fileutils::parentDir_data()
#ifdef Q_OS_WIN
QTest::newRow("C:/data") << "C:/data" << "C:/" << "";
QTest::newRow("C:/") << "C:/" << "" << "";
- QTest::newRow("//./com1") << "//./com1" << "/" << "";
+ QTest::newRow("//./com1") << "//./com1" << "//." << "";
QTest::newRow("//?/path") << "//?/path" << "/" << "Qt 4 cannot handle this path.";
QTest::newRow("/Global?\?/UNC/host") << "/Global?\?/UNC/host" << "/Global?\?/UNC/host"
<< "Qt 4 cannot handle this path.";