mirror of
https://github.com/google/go-jsonnet.git
synced 2025-08-10 00:07:13 +02:00
Fix a test case
This commit is contained in:
parent
1d393de437
commit
d9173fc67a
@ -113,7 +113,7 @@ func runTests(t *testing.T, tests []*linterTest) {
|
||||
import_snippets = append(import_snippets, Snippet{FileName: filepath, Code: string(input)})
|
||||
}
|
||||
|
||||
errorsFound = LintSnippet(vm, &outBuilder, snippets)
|
||||
errorsFound = LintSnippet(vm, &outBuilder, import_snippets)
|
||||
outData = outBuilder.String()
|
||||
if outData == "" && errorsFound {
|
||||
t.Error(fmt.Errorf("return value indicates problems present, but no output was produced"))
|
||||
|
Loading…
Reference in New Issue
Block a user