feat(tests): add tests for resource pack parsing

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2022-08-30 14:55:37 -03:00
parent 8a7e117f6b
commit 0331f5a1eb
5 changed files with 85 additions and 1 deletions

View File

@ -146,7 +146,8 @@ slots:
for (auto mod : model.allMods())
qDebug() << mod->name();
QCOMPARE(model.size(), 2);
// FIXME: It considers every file in the directory as a mod, but we should probably filter that out somehow.
QCOMPARE(model.size(), 4);
model.stopWatching();