hcl2template/common_test.go: make testParse a helper (#8495)

so that when an error happens we see the real calling function
pull/8490/head
Adrien Delorme 6 years ago committed by GitHub
parent bc49234930
commit ee2d74ce9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save