Skip to content

Commit 927c36a

Browse files
committed
Make Issues of TestRunner non-nil
1 parent 6b4e67a commit 927c36a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helper/testing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
// TestRunner returns a pseudo Runner for testing
1313
func TestRunner(t *testing.T, files map[string]string) *Runner {
14-
runner := &Runner{Files: map[string]*hcl.File{}}
14+
runner := &Runner{Files: map[string]*hcl.File{}, Issues: Issues{}}
1515
parser := hclparse.NewParser()
1616

1717
for name, src := range files {

0 commit comments

Comments
 (0)