Commit cd677a64 authored by David Redondo's avatar David Redondo 🏎
Browse files

Fix build and test

parent a7466c69
......@@ -82,6 +82,7 @@ void FilenameTest::testNumbering()
QCOMPARE(mExportManager->formatFilename(BaseName+QStringLiteral("_%d")), BaseName+QStringLiteral("_2"));
file.remove();
file.setFileName(QDir(mExportManager->defaultSaveLocation()).filePath(BaseName+QStringLiteral("_1_01_001")));
file.open(QIODevice::WriteOnly);
file.close();
QCOMPARE(mExportManager->formatFilename(BaseName+QStringLiteral("_%d_%2d_%3d")), BaseName+QStringLiteral("_2_02_002"));
file.remove();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment