hcl2template/common_test.go: make testParse a helper (#8495)
so that when an error happens we see the real calling function
This commit is contained in:
parent
bc49234930
commit
ee2d74ce9e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue