Add assert version checks for upcoming 1.3.0
This commit is contained in:
parent
eb3331f74d
commit
fff61d7773
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user