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

Commit

Permalink
Add assert version checks for upcoming 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pstavirs committed Oct 11, 2023
1 parent eb3331f commit fff61d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/updater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ Updater::Updater()

#if 1
// Tests!
Q_ASSERT(isVersionNewer("1.3.0", "1.2.0") == true);
Q_ASSERT(isVersionNewer("1.3.0", "1.1") == true);
Q_ASSERT(isVersionNewer("1.2.0", "1.1") == true);
Q_ASSERT(isVersionNewer("1.1", "1") == true);
Q_ASSERT(isVersionNewer("10.1", "2") == true);
Expand Down

0 comments on commit fff61d7

Please sign in to comment.