Skip to content

Commit

Permalink
better expected output on tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sarkis committed Feb 24, 2018
1 parent 1f8e8b9 commit b39bfc1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -479,19 +479,19 @@ func TestTerraformCommandCliArgs(t *testing.T) {
}{
{
[]string{"version"},
"Terraform",
"terraform version",
},
{
[]string{"version", "foo"},
"Terraform",
"terraform version foo",
},
{
[]string{"version", "foo", "bar", "baz"},
"Terraform",
"terraform version foo bar baz",
},
{
[]string{"version", "foo", "bar", "baz", "foobar"},
"Terraform",
"terraform version foo bar baz foobar",
},
}

Expand Down Expand Up @@ -525,15 +525,15 @@ func TestTerraformSubcommandCliArgs(t *testing.T) {
},
{
[]string{"force-unlock", "foo"},
"terraform force-unlock",
"terraform force-unlock foo",
},
{
[]string{"force-unlock", "foo", "bar", "baz"},
"terraform force-unlock",
"terraform force-unlock foo bar baz",
},
{
[]string{"force-unlock", "foo", "bar", "baz", "foo"},
"terraform force-unlock",
[]string{"force-unlock", "foo", "bar", "baz", "foobar"},
"terraform force-unlock foo bar baz foobar",
},
}

Expand Down

0 comments on commit b39bfc1

Please sign in to comment.