Correct error messages in google provider test library

This commit is contained in:
Bill Fumerola 2016-05-09 15:58:26 -07:00
parent feb9cbe175
commit 7dcb4974a1
1 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ func testAccPreCheck(t *testing.T) {
"CLOUDSDK_CORE_PROJECT",
}
if v := multiEnvSearch(projs); v == "" {
t.Fatalf("One of %s must be set for acceptance tests", strings.Join(creds, ", "))
t.Fatalf("One of %s must be set for acceptance tests", strings.Join(projs, ", "))
}
regs := []string{
@ -71,8 +71,8 @@ func testAccPreCheck(t *testing.T) {
"GCLOUD_REGION",
"CLOUDSDK_COMPUTE_REGION",
}
if v := multiEnvSearch(regs); v != "us-central-1" {
t.Fatalf("One of %s must be set to us-central-1 for acceptance tests", strings.Join(creds, ", "))
if v := multiEnvSearch(regs); v != "us-central1" {
t.Fatalf("One of %s must be set to us-central1 for acceptance tests", strings.Join(regs, ", "))
}
}