Skip to content

Commit 12fcf34

Browse files
authored
Mark VcrTest() as a test helper function (#11453)
1 parent 61f619e commit 12fcf34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mmv1/third_party/terraform/acctest/vcr_utils.go

+2
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ func vcrFileName(name string) string {
143143
// VcrTest is a wrapper for resource.Test to swap out providers for VCR providers and handle VCR specific things
144144
// Can be called when VCR is not enabled, and it will behave as normal
145145
func VcrTest(t *testing.T, c resource.TestCase) {
146+
t.Helper()
147+
146148
if IsVcrEnabled() {
147149
defer closeRecorder(t)
148150
} else if isReleaseDiffEnabled() {

0 commit comments

Comments
 (0)