From d9173fc67a9cc433eb38541103fab2a22dc9350b Mon Sep 17 00:00:00 2001 From: Tsuyoshi Hombashi Date: Sun, 11 Jul 2021 15:35:25 +0900 Subject: [PATCH] Fix a test case --- linter/linter_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linter/linter_test.go b/linter/linter_test.go index 212cb4c..62449a7 100644 --- a/linter/linter_test.go +++ b/linter/linter_test.go @@ -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"))