diff --git a/tests/auto/utils/fileutils/tst_fileutils.cpp b/tests/auto/utils/fileutils/tst_fileutils.cpp index aa50abe698e..7488a1787fc 100644 --- a/tests/auto/utils/fileutils/tst_fileutils.cpp +++ b/tests/auto/utils/fileutils/tst_fileutils.cpp @@ -163,18 +163,16 @@ void tst_fileutils::isChildOf_data() QTest::newRow("same") << "/tmp/dir" << "/tmp/dir" << false; // Windows stuff: -#ifdef Q_OS_WIN QTest::newRow("C:/data") << "C:/" << "C:/data" << true; QTest::newRow("C:/") << "" << "C:/" << false; QTest::newRow("com-port") << "//./" << "//./com1" << true; - QTest::newRow("extended-length-path") << "\\\\?\\C:\\" << "\\\\?\\C:\\path" << false; + QTest::newRow("extended-length-path") << "\\\\?\\C:\\" << "\\\\?\\C:\\path" << true; QTest::newRow("/Global?\?/UNC/host") << "/Global?\?/UNC/host" << "/Global?\?/UNC/host/file" << true; QTest::newRow("//server/directory/file") << "//server/directory" << "//server/directory/file" << true; QTest::newRow("//server/directory") << "//server" << "//server/directory" << true; -#endif } void tst_fileutils::isChildOf()