mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 18:00:26 +00:00
Add two minor tests for Version() <= operator
This commit is contained in:
parent
a7bdc39761
commit
03a74d1911
@ -21,6 +21,8 @@ assert(Version("1.0.1") > Version("1.0.1-beta"))
|
|||||||
assert(Version("1.0.1") > Version("1.0.1-dev"))
|
assert(Version("1.0.1") > Version("1.0.1-dev"))
|
||||||
assert(Version("1.0.1-beta") > Version("1.0.1-alpha"))
|
assert(Version("1.0.1-beta") > Version("1.0.1-alpha"))
|
||||||
assert(Version("1.0.1-beta50") < Version("1.0.1-beta100"))
|
assert(Version("1.0.1-beta50") < Version("1.0.1-beta100"))
|
||||||
|
assert(Version("1.0.1-beta50") <= Version("1.0.1-beta100"))
|
||||||
|
assert(Version("1.0.1-beta100") <= Version("1.0.1-beta100"))
|
||||||
|
|
||||||
local v = Version()
|
local v = Version()
|
||||||
assert(v.major == 0)
|
assert(v.major == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user