Skip to content

Commit

Permalink
Updated tests error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
pablovarela committed Jul 2, 2021
1 parent 3a86f28 commit 5bf68d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions slack/data_source_user_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func TestAccSlackUserDataSource_basic(t *testing.T) {
Steps: []resource.TestStep{
{
Config: testAccCheckSlackUserDataSourceConfigMissingFields,
ExpectError: regexp.MustCompile("ExactlyOne"),
ExpectError: regexp.MustCompile(`Invalid combination of arguments`),
},
},
})
Expand All @@ -62,7 +62,7 @@ func TestAccSlackUserDataSource_basic(t *testing.T) {
Steps: []resource.TestStep{
{
Config: testAccCheckSlackUserDataSourceConfigExistentByNameAndEmail,
ExpectError: regexp.MustCompile("ExactlyOne"),
ExpectError: regexp.MustCompile(`Invalid combination of arguments`),
},
},
})
Expand Down
4 changes: 2 additions & 2 deletions slack/datasource_usergroup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestAccSlackUserGroupDataSource_basic(t *testing.T) {
Steps: []resource.TestStep{
{
Config: testAccCheckSlackUserGroupDataSourceConfigMissingFields,
ExpectError: regexp.MustCompile("ExactlyOne"),
ExpectError: regexp.MustCompile(`Invalid combination of arguments`),
},
},
})
Expand All @@ -67,7 +67,7 @@ func TestAccSlackUserGroupDataSource_basic(t *testing.T) {
Steps: []resource.TestStep{
{
Config: testAccCheckSlackUserGroupDataSourceConfigByNameAndID(createUserGroup),
ExpectError: regexp.MustCompile("ExactlyOne"),
ExpectError: regexp.MustCompile(`Invalid combination of arguments`),
},
},
})
Expand Down

0 comments on commit 5bf68d8

Please sign in to comment.