Skip to content

Commit

Permalink
Fix error message used in TestAccContainerCluster_errorNoClusterCreat…
Browse files Browse the repository at this point in the history
…ed (#9410) (#16454)

[upstream:18461c3c7b9f2df55d549578eabedbfbd431d26b]

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Nov 6, 2023
1 parent a06e285 commit e1387c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/9410.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
Original file line number Diff line number Diff line change
Expand Up @@ -3114,7 +3114,7 @@ func TestAccContainerCluster_errorNoClusterCreated(t *testing.T) {
Steps: []resource.TestStep{
{
Config: testAccContainerCluster_withInvalidLocation("wonderland"),
ExpectError: regexp.MustCompile(`Permission denied on 'locations/wonderland' \(or it may not exist\).`),
ExpectError: regexp.MustCompile(`Location "wonderland" does not exist.`),
},
},
})
Expand Down

0 comments on commit e1387c4

Please sign in to comment.