From eddc8cce370c688db0b2db39dfcf68fd1c7d45d4 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Thu, 23 Mar 2017 09:19:03 +0000 Subject: [PATCH] provider/github: Improve test failure message (#12978) --- builtin/providers/github/resource_github_repository_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/github/resource_github_repository_test.go b/builtin/providers/github/resource_github_repository_test.go index a6583c5c2..03101c89f 100644 --- a/builtin/providers/github/resource_github_repository_test.go +++ b/builtin/providers/github/resource_github_repository_test.go @@ -184,7 +184,7 @@ func testAccCheckGithubRepositoryDestroy(s *terraform.State) error { gotRepo, resp, err := conn.Repositories.Get(context.TODO(), orgName, rs.Primary.ID) if err == nil { if gotRepo != nil && *gotRepo.Name == rs.Primary.ID { - return fmt.Errorf("Repository still exists") + return fmt.Errorf("Repository %s/%s still exists", orgName, *gotRepo.Name) } } if resp.StatusCode != 404 {