From 7dcb4974a187a08d6396043244745956e1b5d181 Mon Sep 17 00:00:00 2001 From: Bill Fumerola Date: Mon, 9 May 2016 15:58:26 -0700 Subject: [PATCH] Correct error messages in google provider test library --- builtin/providers/google/provider_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builtin/providers/google/provider_test.go b/builtin/providers/google/provider_test.go index 40bf1654e..35a1b3c06 100644 --- a/builtin/providers/google/provider_test.go +++ b/builtin/providers/google/provider_test.go @@ -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, ", ")) } }