summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-11-15 14:10:05 +0100
committerMarc Vertes <mvertes@free.fr>2025-11-15 14:10:05 +0100
commitb2383e138098cb783710a79d938527771e8cb3ab (patch)
tree7fb70d289e2abdd02f2f1a19d7b13a65429c2975
parent1a9c22d1219eb0239417db16c9fe96eea3ced2fe (diff)
chore: update ci lint
-rw-r--r--.github/workflows/go.yml2
-rw-r--r--parser/interpreter_test.go2
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"}`},
})
}