mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 18:00:26 +00:00
Fix version tests now that the master branch is v1.x-dev
This commit is contained in:
parent
e3d67e9765
commit
d890906f1a
@ -7,8 +7,10 @@
|
|||||||
assert(string.sub(tostring(app.version), 1, 1) == "1")
|
assert(string.sub(tostring(app.version), 1, 1) == "1")
|
||||||
assert(string.sub(tostring(app.version), 2, 2) == ".")
|
assert(string.sub(tostring(app.version), 2, 2) == ".")
|
||||||
assert(app.version.major == 1)
|
assert(app.version.major == 1)
|
||||||
assert(app.version.minor >= 2)
|
|
||||||
assert(app.version > Version("1.2.10-beta4"))
|
-- We cannot test the specific app.version from the master branch
|
||||||
|
-- because it's "1.x-dev" (which is converted to "1.0-dev" as Version object)
|
||||||
|
--assert(app.version > Version("1.2.10-beta4"))
|
||||||
|
|
||||||
assert(Version("1") == Version("1"))
|
assert(Version("1") == Version("1"))
|
||||||
assert(Version("1.1") > Version("1"))
|
assert(Version("1.1") > Version("1"))
|
||||||
|
Loading…
Reference in New Issue
Block a user