Fix tests (oops)

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad 2025-08-04 15:31:38 +01:00
parent d7eddd3773
commit e14b18ca71
No known key found for this signature in database
GPG Key ID: 5E39D70B4C93C38E

View File

@ -188,7 +188,7 @@ class FileSystemTest : public QObject {
qDebug() << tempDir.path();
qDebug() << target_dir.path();
FS::copy c(folder, target_dir.path());
auto re = Filters::regexp(QRegularExpression("/[.]?mcmeta$"));
auto re = Filters::regexp(QRegularExpression("[.]?mcmeta"));
c.matcher(re);
c();
@ -221,7 +221,7 @@ class FileSystemTest : public QObject {
qDebug() << tempDir.path();
qDebug() << target_dir.path();
FS::copy c(folder, target_dir.path());
auto re = Filters::regexp(QRegularExpression("/[.]?mcmeta$"));
auto re = Filters::regexp(QRegularExpression("[.]?mcmeta"));
c.matcher(re);
c.whitelist(true);
c();
@ -413,7 +413,7 @@ class FileSystemTest : public QObject {
qDebug() << target_dir.path();
LinkTask lnk_tsk(folder, target_dir.path());
auto re = Filters::regexp(QRegularExpression("/[.]?mcmeta$"));
auto re = Filters::regexp(QRegularExpression("[.]?mcmeta"));
lnk_tsk.matcher(re);
lnk_tsk.linkRecursively(true);
connect(&lnk_tsk, &Task::finished,
@ -459,7 +459,7 @@ class FileSystemTest : public QObject {
qDebug() << target_dir.path();
LinkTask lnk_tsk(folder, target_dir.path());
auto re = Filters::regexp(QRegularExpression("/[.]?mcmeta$"));
auto re = Filters::regexp(QRegularExpression("[.]?mcmeta"));
lnk_tsk.matcher(re);
lnk_tsk.linkRecursively(true);
lnk_tsk.whitelist(true);