Update common_test.go

This commit is contained in:
Adrien Delorme 2020-05-08 17:01:42 +02:00
parent ec083083ce
commit 0062160581
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ func testParse(t *testing.T, tests []parseTest) {
return
}
gotBuilds, gotDiags := gotCfg.GetBuilds(nil, nil)
gotBuilds, gotDiags := gotCfg.GetBuilds(packer.GetBuildsOptions{})
if tt.getBuildsWantDiags == (gotDiags == nil) {
t.Fatalf("Parser.getBuilds() unexpected diagnostics. %s", gotDiags)
}