Skip to content

Commit

Permalink
Fix test with invalid location (#807)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored and rileykarson committed Jun 4, 2019
1 parent 26a903c commit 3adfdab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion google-beta/resource_container_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1727,7 +1727,7 @@ func TestAccContainerCluster_errorNoClusterCreated(t *testing.T) {
Steps: []resource.TestStep{
{
Config: testAccContainerCluster_withInvalidLocation("wonderland"),
ExpectError: regexp.MustCompile(`Location "wonderland" does not exist`),
ExpectError: regexp.MustCompile(`Permission denied on 'locations/wonderland' \(or it may not exist\).`),
},
},
})
Expand Down

0 comments on commit 3adfdab

Please sign in to comment.