summaryrefslogtreecommitdiffstats
path: root/tests/tst_DownloadUpdateTask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tst_DownloadUpdateTask.cpp')
-rw-r--r--tests/tst_DownloadUpdateTask.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/tst_DownloadUpdateTask.cpp b/tests/tst_DownloadUpdateTask.cpp
index 764af935..f47552fe 100644
--- a/tests/tst_DownloadUpdateTask.cpp
+++ b/tests/tst_DownloadUpdateTask.cpp
@@ -99,11 +99,7 @@ slots:
ops << DownloadUpdateTask::UpdateOperation::CopyOp("sourceOne", "destOne", 0777)
<< DownloadUpdateTask::UpdateOperation::CopyOp("MultiMC.exe", "M/u/l/t/i/M/C/e/x/e")
<< DownloadUpdateTask::UpdateOperation::DeleteOp("toDelete.abc");
-#if defined(Q_OS_WIN)
- auto testFile = "tests/data/tst_DownloadUpdateTask-test_writeInstallScript_win32.xml";
-#else
auto testFile = "tests/data/tst_DownloadUpdateTask-test_writeInstallScript.xml";
-#endif
const QString script = QDir::temp().absoluteFilePath("MultiMCUpdateScript.xml");
QVERIFY(task.writeInstallScript(ops, script));
QCOMPARE(TestsInternal::readFileUtf8(script).replace(QRegExp("[\r\n]+"), "\n"),