From 0297418c0b338391f91377ae801d08cd9e763c30 Mon Sep 17 00:00:00 2001 From: gfanton <8671905+gfanton@users.noreply.github.com> Date: Sat, 7 Oct 2023 14:42:30 +0200 Subject: [PATCH] fix: add lint test for _test files Signed-off-by: gfanton <8671905+gfanton@users.noreply.github.com> --- gnovm/cmd/gno/lint_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnovm/cmd/gno/lint_test.go b/gnovm/cmd/gno/lint_test.go index 77b7e3a15d4..319415d34ac 100644 --- a/gnovm/cmd/gno/lint_test.go +++ b/gnovm/cmd/gno/lint_test.go @@ -11,8 +11,8 @@ func TestLintApp(t *testing.T) { args: []string{"lint", "--set_exit_status=0", "../../tests/integ/run-main/"}, stderrShouldContain: "./../../tests/integ/run-main: missing 'gno.mod' file (code=1).", }, { - args: []string{"lint", "--set_exit_status=0", "../../tests/integ/run-main/"}, - stderrShouldContain: "./../../tests/integ/run-main: missing 'gno.mod' file (code=1).", + args: []string{"lint", "--set_exit_status=0", "../../tests/integ/undefined-variable-test/undefined_variables_test.gno"}, + stderrShouldContain: "undefined_variables_test.gno:6: name toto not declared (code=2)", }, { args: []string{"lint", "--set_exit_status=0", "../../tests/integ/package-not-declared/main.gno"}, stderrShouldContain: "main.gno:4: name fmt not declared (code=2).",