mirror of
https://github.com/hashicorp/terraform.git
synced 2026-06-09 08:58:34 -04:00
update tests to match pre-release constraint rules
This commit is contained in:
parent
398a6ef31a
commit
0a6938e90a
1 changed files with 11 additions and 1 deletions
|
|
@ -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 a new issue