From 94a6423a96b316d0c0292ec4882021e7a149563e Mon Sep 17 00:00:00 2001 From: Srivats P Date: Mon, 15 Aug 2022 13:05:17 +0530 Subject: [PATCH] Add a 1.2.0 version updater test --- common/updater.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/common/updater.cpp b/common/updater.cpp index 59fd991..e725901 100644 --- a/common/updater.cpp +++ b/common/updater.cpp @@ -32,6 +32,7 @@ Updater::Updater() #if 1 // Tests! + Q_ASSERT(isVersionNewer("1.2.0", "1.1") == true); Q_ASSERT(isVersionNewer("1.1", "1") == true); Q_ASSERT(isVersionNewer("10.1", "2") == true); Q_ASSERT(isVersionNewer("0.10", "0.2") == true);