Permalink
Browse files

NOISSUE fix up unit test for the changed Library behavior

No more fallback for local libraries. They must be in the instance, always.
  • Loading branch information...
peterix committed Nov 12, 2018
1 parent 0f0dc30 commit 47b1f9a8609b2491b08e20a592a4a4bf92bcfdf7
Showing with 1 addition and 1 deletion.
  1. +1 −1 api/logic/minecraft/Library_test.cpp
@@ -170,7 +170,7 @@ private
QCOMPARE(jar, {});
QCOMPARE(native, {});
QCOMPARE(native32, {QFileInfo("data/testname-testversion-linux-32.jar").absoluteFilePath()});
QCOMPARE(native64, getStorage("test/package/testname/testversion/testname-testversion-linux-64.jar"));
QCOMPARE(native64, {QFileInfo("data/testname-testversion-linux-64.jar").absoluteFilePath()});
QStringList failedFiles;
auto dls = test.getDownloads(Os_Linux, cache.get(), failedFiles, QString("data"));
QCOMPARE(dls.size(), 0);

0 comments on commit 47b1f9a

Please sign in to comment.