mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-09-11 13:07:25 -04:00
Fix tests (oops)
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
d7eddd3773
commit
e14b18ca71
@ -188,7 +188,7 @@ class FileSystemTest : public QObject {
|
|||||||
qDebug() << tempDir.path();
|
qDebug() << tempDir.path();
|
||||||
qDebug() << target_dir.path();
|
qDebug() << target_dir.path();
|
||||||
FS::copy c(folder, 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.matcher(re);
|
||||||
c();
|
c();
|
||||||
|
|
||||||
@ -221,7 +221,7 @@ class FileSystemTest : public QObject {
|
|||||||
qDebug() << tempDir.path();
|
qDebug() << tempDir.path();
|
||||||
qDebug() << target_dir.path();
|
qDebug() << target_dir.path();
|
||||||
FS::copy c(folder, 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.matcher(re);
|
||||||
c.whitelist(true);
|
c.whitelist(true);
|
||||||
c();
|
c();
|
||||||
@ -413,7 +413,7 @@ class FileSystemTest : public QObject {
|
|||||||
qDebug() << target_dir.path();
|
qDebug() << target_dir.path();
|
||||||
|
|
||||||
LinkTask lnk_tsk(folder, 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.matcher(re);
|
||||||
lnk_tsk.linkRecursively(true);
|
lnk_tsk.linkRecursively(true);
|
||||||
connect(&lnk_tsk, &Task::finished,
|
connect(&lnk_tsk, &Task::finished,
|
||||||
@ -459,7 +459,7 @@ class FileSystemTest : public QObject {
|
|||||||
qDebug() << target_dir.path();
|
qDebug() << target_dir.path();
|
||||||
|
|
||||||
LinkTask lnk_tsk(folder, 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.matcher(re);
|
||||||
lnk_tsk.linkRecursively(true);
|
lnk_tsk.linkRecursively(true);
|
||||||
lnk_tsk.whitelist(true);
|
lnk_tsk.whitelist(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user