diff options
Diffstat (limited to 'tests/modules')
| -rwxr-xr-x | tests/modules/semver/test.lua | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/modules/semver/test.lua b/tests/modules/semver/test.lua index e8cb26177..9ebd2e45c 100755 --- a/tests/modules/semver/test.lua +++ b/tests/modules/semver/test.lua @@ -42,7 +42,7 @@ function test_semver_select(t) , "^1.2.3" , {"^1.2.3", "1.2.3", "1.9.0"}) - _check_semver_select(t, {"v1.2.3+7", "version"} + _check_semver_select(t, {"1.2.3", "tag"} , "1.2.3" , {"v1.2.3+7"} , {"1.2.3"}) @@ -70,6 +70,11 @@ function test_semver_select(t) , nil , {"v1.2.3+7", "v1.2.3+8"}) + _check_semver_select(t, {"v1.2.3+7", "tag"} + , "1.2.3+7" + , {"1.2.3+8"} + , {"v1.2.3+7"}) + _check_semver_select(t, {"master", "branch"} , "master" , {"1.4.0", "1.5.0", "1.5.1"} |
