Skip to content

Commit

Permalink
Use Concise Arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Udit committed Sep 1, 2020
1 parent 56654c4 commit ee7c2fa
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions github/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,13 @@ func TestAccProviderConfigure(t *testing.T) {

organizationConfiguration := fmt.Sprintf(`
provider "github" {
organization = "%s"
token = "%s"
organization = "%[1]s"
token = "%[2]s"
}
data "github_organization" "test" { name = "%s" }
data "github_organization" "test" { name = "%[1]s" }
`,
os.Getenv("GITHUB_ORGANIZATION"),
os.Getenv("GITHUB_TOKEN"),
os.Getenv("GITHUB_ORGANIZATION"),
)

organizationCheck := resource.ComposeTestCheckFunc(
Expand Down

0 comments on commit ee7c2fa

Please sign in to comment.