diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-10-28 22:21:49 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-10-28 22:21:49 +0200 |
commit | d4b82f11ca4867649b825d3a366724bbfcd63695 (patch) | |
tree | af8e3d5a0e5001398399ff8ab8030730279b4123 /api | |
parent | a87d96349a5b903f81f71c7718c65da9790d14e2 (diff) | |
download | MultiMC-d4b82f11ca4867649b825d3a366724bbfcd63695.tar MultiMC-d4b82f11ca4867649b825d3a366724bbfcd63695.tar.gz MultiMC-d4b82f11ca4867649b825d3a366724bbfcd63695.tar.lz MultiMC-d4b82f11ca4867649b825d3a366724bbfcd63695.tar.xz MultiMC-d4b82f11ca4867649b825d3a366724bbfcd63695.zip |
GH-2026 fix failing library test case for native libraries
Diffstat (limited to 'api')
-rw-r--r-- | api/logic/minecraft/Library_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/logic/minecraft/Library_test.cpp b/api/logic/minecraft/Library_test.cpp index 54296849..1aac951b 100644 --- a/api/logic/minecraft/Library_test.cpp +++ b/api/logic/minecraft/Library_test.cpp @@ -75,6 +75,7 @@ slots: test.setHint("local"); auto downloads = test.getDownloads(currentSystem, cache.get(), failedFiles, QString("data")); QCOMPARE(downloads.size(), 0); + qDebug() << failedFiles; QCOMPARE(failedFiles.size(), 0); QStringList jar, native, native32, native64; @@ -240,10 +241,9 @@ slots: QCOMPARE(native64, {}); QStringList failedFiles; auto dls = test->getDownloads(Os_OSX, cache.get(), failedFiles, QString()); - QCOMPARE(dls.size(), 2); + QCOMPARE(dls.size(), 1); QCOMPARE(failedFiles, {}); - QCOMPARE(dls[0]->m_url, QUrl("https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209.jar")); - QCOMPARE(dls[1]->m_url, QUrl("https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar")); + QCOMPARE(dls[0]->m_url, QUrl("https://libraries.minecraft.net/org/lwjgl/lwjgl/lwjgl-platform/2.9.4-nightly-20150209/lwjgl-platform-2.9.4-nightly-20150209-natives-osx.jar")); } void test_onenine_native_arch() { |