forked from qt-creator/qt-creator
Tests: Fix compile
Broke with e027ed5e96
.
Change-Id: Ic79537865f42c4d6190d262fcf73399ed42b3035
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -161,7 +161,7 @@ void tst_fileutils::fileName()
|
|||||||
QFETCH(QString, path);
|
QFETCH(QString, path);
|
||||||
QFETCH(int, components);
|
QFETCH(int, components);
|
||||||
QFETCH(QString, result);
|
QFETCH(QString, result);
|
||||||
QCOMPARE(FilePath::fromString(path).fileName(components), result);
|
QCOMPARE(FilePath::fromString(path).fileNameWithPathComponents(components), result);
|
||||||
}
|
}
|
||||||
|
|
||||||
QTEST_APPLESS_MAIN(tst_fileutils)
|
QTEST_APPLESS_MAIN(tst_fileutils)
|
||||||
|
Reference in New Issue
Block a user