forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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.";
|
||||
|
Reference in New Issue
Block a user