From b2383e138098cb783710a79d938527771e8cb3ab Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 15 Nov 2025 14:10:05 +0100 Subject: chore: update ci lint --- .github/workflows/go.yml | 2 +- parser/interpreter_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index f9d645d..351b53e 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -22,7 +22,7 @@ jobs: cache: false - name: Lint - uses: golangci/golangci-lint-action@v6 + uses: golangci/golangci-lint-action@v9 with: version: latest diff --git a/parser/interpreter_test.go b/parser/interpreter_test.go index 314f35b..11238d4 100644 --- a/parser/interpreter_test.go +++ b/parser/interpreter_test.go @@ -262,6 +262,6 @@ func TestComposite(t *testing.T) { run(t, []etest{ {src: "type T struct{}; t := T{}; t", res: "{}"}, {src: "t := struct{}{}; t", res: "{}"}, - // {src: "type T struct{N int}; t := T{2}; t", res: "{2}"}, + {src: `type T struct{N int; S string}; t := T{2, "foo"}; t`, res: `{2, "foo"}`}, }) } -- cgit v1.2.3