Skip to content

Commit

Permalink
integrationsGH-144 - Formatting files
Browse files Browse the repository at this point in the history
  • Loading branch information
benj-fletch authored and Jeremy Udit committed Feb 20, 2020
1 parent 1743a37 commit 67b10fb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions github/data_source_github_release_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func TestAccGithubReleaseDataSource_latestExisting(t *testing.T) {
Providers: testAccProviders,
Steps: []resource.TestStep{
{
Config: testAccCheckGithubReleaseDataSourceConfig(repo, owner, retrieveBy, "", 0),
Config: testAccCheckGithubReleaseDataSourceConfig(repo, owner, retrieveBy, "", 0),
Check: resource.ComposeTestCheckFunc(
resource.TestMatchResourceAttr("data.github_release.test", "url", regexp.MustCompile(`hashicorp/terraform`)),
resource.TestMatchResourceAttr("data.github_release.test", "tarball_url", regexp.MustCompile(`hashicorp/terraform/tarball`)),
Expand Down Expand Up @@ -77,7 +77,7 @@ func TestAccGithubReleaseDataSource_fetchByIdExisting(t *testing.T) {
Providers: testAccProviders,
Steps: []resource.TestStep{
{
Config: testAccCheckGithubReleaseDataSourceConfig(repo, owner, retrieveBy, "", id),
Config: testAccCheckGithubReleaseDataSourceConfig(repo, owner, retrieveBy, "", id),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr("data.github_release.test", "release_id", strconv.FormatInt(id, 10)),
resource.TestMatchResourceAttr("data.github_release.test", "url", regexp.MustCompile(`hashicorp/terraform`)),
Expand Down Expand Up @@ -119,7 +119,7 @@ func TestAccGithubReleaseDataSource_fetchByTagExisting(t *testing.T) {
Providers: testAccProviders,
Steps: []resource.TestStep{
{
Config: testAccCheckGithubReleaseDataSourceConfig(repo, owner, retrieveBy, tag, 0),
Config: testAccCheckGithubReleaseDataSourceConfig(repo, owner, retrieveBy, tag, 0),
Check: resource.ComposeTestCheckFunc(
resource.TestCheckResourceAttr("data.github_release.test", "release_tag", tag),
resource.TestMatchResourceAttr("data.github_release.test", "url", regexp.MustCompile(`hashicorp/terraform`)),
Expand Down Expand Up @@ -156,5 +156,5 @@ data "github_release" "test" {
release_tag = "%s"
release_id = %d
}
`, repo, owner, retrieveBy, tag , id)
`, repo, owner, retrieveBy, tag, id)
}

0 comments on commit 67b10fb

Please sign in to comment.