Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

helper/resource: Check for existing provider configuration block in TestStep merged configuration #1092

Merged
merged 2 commits into from Nov 14, 2022

Commits on Nov 8, 2022

  1. helper/resource: Check for existing provider configuration block in T…

    …estStep merged configuration
    
    Reference: #1064
    
    Previously:
    
    ```
        --- FAIL: TestStepMergedConfig/teststep-externalproviders-config-with-provider-block-unquoted (0.00s)
            /Users/bflad/src/github.com/hashicorp/terraform-plugin-sdk/helper/resource/teststep_providers_test.go:643: unexpected difference:   (
                  	"""
                  	... // 6 identical lines
                  	  }
                  	}
                - 
                - 	provider "test" {}
                - 
                  
                  	provider test {}
                  	... // 2 identical lines
                  	"""
                  )
        --- FAIL: TestStepMergedConfig/teststep-externalproviders-config-with-provider-block-quoted (0.00s)
            /Users/bflad/src/github.com/hashicorp/terraform-plugin-sdk/helper/resource/teststep_providers_test.go:643: unexpected difference:   (
                  	"""
                  	... // 6 identical lines
                  	  }
                  	}
                - 
                - 	provider "test" {}
                - 
                  
                  	provider "test" {}
                  	... // 2 identical lines
                  	"""
                  )
    ```
    bflad committed Nov 8, 2022
    Copy the full SHA
    a858e02 View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG for #1092

    bflad committed Nov 8, 2022
    Copy the full SHA
    b6c352a View commit details
    Browse the repository at this point in the history