summaryrefslogtreecommitdiffstats
path: root/api/logic
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2018-11-12 02:02:07 +0100
committerPetr Mrázek <peterix@gmail.com>2018-11-12 02:02:07 +0100
commit47b1f9a8609b2491b08e20a592a4a4bf92bcfdf7 (patch)
treeff66170177e34504841ba43b65cdf4232dc736a0 /api/logic
parent0f0dc30729934de863202387f2d044be2b5ce96c (diff)
downloadMultiMC-47b1f9a8609b2491b08e20a592a4a4bf92bcfdf7.tar
MultiMC-47b1f9a8609b2491b08e20a592a4a4bf92bcfdf7.tar.gz
MultiMC-47b1f9a8609b2491b08e20a592a4a4bf92bcfdf7.tar.lz
MultiMC-47b1f9a8609b2491b08e20a592a4a4bf92bcfdf7.tar.xz
MultiMC-47b1f9a8609b2491b08e20a592a4a4bf92bcfdf7.zip
NOISSUE fix up unit test for the changed Library behavior
No more fallback for local libraries. They must be in the instance, always.
Diffstat (limited to 'api/logic')
-rw-r--r--api/logic/minecraft/Library_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/logic/minecraft/Library_test.cpp b/api/logic/minecraft/Library_test.cpp
index 4f9c8006..fe22c804 100644
--- a/api/logic/minecraft/Library_test.cpp
+++ b/api/logic/minecraft/Library_test.cpp
@@ -170,7 +170,7 @@ slots:
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);