diff --git a/plugin/discovery/version_set_test.go b/plugin/discovery/version_set_test.go index ed2c4f1b7..1ad04fd0b 100644 --- a/plugin/discovery/version_set_test.go +++ b/plugin/discovery/version_set_test.go @@ -30,11 +30,21 @@ func TestVersionSet(t *testing.T) { { ">=1.0.0", "1.1.0-beta1", + false, + }, + { + ">=1.0.0", + "1.1.0", + true, + }, + { + "~>1.1.0-a", + "1.1.0-beta1", true, }, { "~>1.1.0", - "1.1.2-beta1", + "1.1.2", true, }, {