1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-03-27 16:25:41 +02:00

updated compareVersions tests

This commit is contained in:
Gani Georgiev 2023-05-23 23:15:56 +03:00
parent 7dcfa65146
commit 5b330ab5b4

@ -18,6 +18,9 @@ func TestCompareVersions(t *testing.T) {
{"1.10", "1.9", -1},
{"1.2", "1.12", 1},
{"3.2", "1.6", -1},
{"0.0.2", "0.0.1", -1},
{"0.16.2", "0.17.0", 1},
{"1.15.0", "0.16.1", -1},
{"3.2", "4.0", 1},
{"3.2.4", "3.2.3", -1},
}