Skip to content

Commit 90dee19

Browse files
committed
fixup! Merge branch 'import-compare-plan-to-previous-state' into import-block-with-resource-identity
1 parent f9fc468 commit 90dee19

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

helper/resource/testing.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ func (kind ImportStateKind) terraformVersion() *version.Version {
489489
default:
490490
return tfversion.Version0_12_26 // Default to the earlist version supported by the testing framework
491491
}
492+
}
492493

493494
func (kind ImportStateKind) String() string {
494495
return map[ImportStateKind]string{

helper/resource/testing_new_import_state.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ func checkTerraformVersion(t testing.T, kind ImportStateKind, versionUnderTest v
446446
`%s steps require Terraform %s. Detected Terraform %s. Either upgrade the Terraform version running the test `+
447447
`or add `+"`TerraformVersionChecks`"+` to the test case to skip this test.`+"\n\n"+
448448
`https://developer.hashicorp.com/terraform/plugin/testing/acceptance-tests/tfversion-checks#skip-version-checks`,
449-
kind, kind.terraformVersion(), versionUnderTest)
449+
kind, kind.terraformVersion(), versionUnderTest.String())
450450
}
451451

452452
return nil

0 commit comments

Comments
 (0)