update tests to match pre-release constraint rules
This commit is contained in:
parent
398a6ef31a
commit
0a6938e90a
|
@ -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,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue