From ee2d74ce9ea153522b66c9aa1165a122c9139308 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Tue, 17 Dec 2019 16:46:36 +0100 Subject: [PATCH] hcl2template/common_test.go: make testParse a helper (#8495) so that when an error happens we see the real calling function --- hcl2template/common_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/hcl2template/common_test.go b/hcl2template/common_test.go index 3feae5347..474faa88c 100644 --- a/hcl2template/common_test.go +++ b/hcl2template/common_test.go @@ -134,6 +134,7 @@ type parseTest struct { } func testParse(t *testing.T, tests []parseTest) { + t.Helper() for _, tt := range tests { t.Run(tt.name, func(t *testing.T) {