mirror of
https://github.com/aseprite/aseprite.git
synced 2024-11-20 14:21:45 +00:00
Update Version tests to new API
This commit is contained in:
parent
03a74d1911
commit
ce14e003c8
@ -28,12 +28,12 @@ local v = Version()
|
||||
assert(v.major == 0)
|
||||
assert(v.minor == 0)
|
||||
assert(v.patch == 0)
|
||||
assert(v.prerelease == "")
|
||||
assert(v.prereleaseDigit == 0)
|
||||
assert(v.prereleaseLabel == "")
|
||||
assert(v.prereleaseNumber == 0)
|
||||
|
||||
v = Version("1.2.10-beta4")
|
||||
assert(v.major == 1)
|
||||
assert(v.minor == 2)
|
||||
assert(v.patch == 10)
|
||||
assert(v.prerelease == "beta")
|
||||
assert(v.prereleaseDigit == 4)
|
||||
assert(v.prereleaseLabel == "beta")
|
||||
assert(v.prereleaseNumber == 4)
|
||||
|
Loading…
Reference in New Issue
Block a user