Skip to content

Port in expiration parsing into composable schema DSL #8222

Port in expiration parsing into composable schema DSL

Port in expiration parsing into composable schema DSL #8222

Triggered via pull request February 7, 2025 23:46
Status Failure
Total duration 3m 44s
Artifacts 1

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
Lint Go: pkg/composableschemadsl/parser/parser_test.go#L1
Please run go run mage.go lint:go. diff --git a/pkg/composableschemadsl/parser/parser_test.go b/pkg/composableschemadsl/parser/parser_test.go index 790e0b9..b05762d 100644 --- a/pkg/composableschemadsl/parser/parser_test.go +++ b/pkg/composableschemadsl/parser/parser_test.go @@ -115,7 +115,7 @@ func TestParser(t *testing.T) { {"unclosed caveat test", "unclosedcaveat"}, {"invalid caveat expr test", "invalidcaveatexpr"}, {"associativity test", "associativity"}, - {"super large test", "superlarge"}, + {"super large test", "superlarge"}, {"invalid permission name test", "invalid_perm_name"}, {"union positions test", "unionpos"}, {"arrow operations test", "arrowops"}, @@ -141,7 +141,8 @@ func TestParser(t *testing.T) { {"partials with malformed partial block", "partials_with_malformed_partial_block"}, } - for _, test := range parserTests { test := test + for _, test := range parserTests { + test := test t.Run(test.name, func(t *testing.T) { t.Parallel() root := Parse(createAstNode, input.Source(test.name), test.input())
Lint Go
Process completed with exit code 1.
Lint Go
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.321.0. Please update to the latest version 2.322.0

Artifacts

Produced during runtime
Name Size
diff
562 Bytes