Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Commit

Permalink
Add a 1.2.0 version updater test
Browse files Browse the repository at this point in the history
  • Loading branch information
pstavirs committed Aug 15, 2022
1 parent cda08d9 commit 94a6423
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions common/updater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 94a6423

Please sign in to comment.