aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/version_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/lua/version_spec.lua')
-rw-r--r--test/functional/lua/version_spec.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/functional/lua/version_spec.lua b/test/functional/lua/version_spec.lua
index 75b62e8318..64dcbec983 100644
--- a/test/functional/lua/version_spec.lua
+++ b/test/functional/lua/version_spec.lua
@@ -40,6 +40,8 @@ describe('version', function()
['=1.2.3'] = { from = { 1, 2, 3 }, to = { 1, 2, 4 } },
['>1.2.3'] = { from = { 1, 2, 4 } },
['>=1.2.3'] = { from = { 1, 2, 3 } },
+ ['<1.2.3'] = { from = { 0, 0, 0 }, to = { 1, 2, 3 } },
+ ['<=1.2.3'] = { from = { 0, 0, 0 }, to = { 1, 2, 4 } },
['~1.2.3'] = { from = { 1, 2, 3 }, to = { 1, 3, 0 } },
['^1.2.3'] = { from = { 1, 2, 3 }, to = { 2, 0, 0 } },
['^0.2.3'] = { from = { 0, 2, 3 }, to = { 0, 3, 0 } },