File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ func TestNewEvaluator(t *testing.T) {
257
257
require .Error (t , err )
258
258
require .Nil (t , evalInstance )
259
259
// Update error message check to match actual Starlark error message
260
- assert .Contains (t , err . Error (), "illegal token" )
260
+ assert .ErrorIs (t , err , compiler . ErrValidationFailed )
261
261
})
262
262
}
263
263
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ require (
7
7
github.com/risor-io/risor v1.8.1
8
8
github.com/stretchr/testify v1.10.0
9
9
github.com/tetratelabs/wazero v1.9.0
10
- go.starlark.net v0.0.0-20250417143717-f57e51f710eb
10
+ go.starlark.net v0.0.0-20250603171236-27fdb1d4744d
11
11
)
12
12
13
13
require (
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ github.com/tetratelabs/wazero v1.9.0 h1:IcZ56OuxrtaEz8UYNRHBrUa9bYeX9oVY93KspZZB
31
31
github.com/tetratelabs/wazero v1.9.0 /go.mod h1:TSbcXCfFP0L2FGkRPxHphadXPjo1T6W+CseNNY7EkjM =
32
32
go.opentelemetry.io/proto/otlp v1.5.0 h1:xJvq7gMzB31/d406fB8U5CBdyQGw4P399D1aQWU/3i4 =
33
33
go.opentelemetry.io/proto/otlp v1.5.0 /go.mod h1:keN8WnHxOy8PG0rQZjJJ5A2ebUoafqWp0eVQ4yIXvJ4 =
34
- go.starlark.net v0.0.0-20250417143717-f57e51f710eb h1:zOg9DxxrorEmgGUr5UPdCEwKqiqG0MlZciuCuA3XiDE =
35
- go.starlark.net v0.0.0-20250417143717-f57e51f710eb /go.mod h1:YKMCv9b1WrfWmeqdV5MAuEHWsu5iC+fe6kYl2sQjdI8 =
34
+ go.starlark.net v0.0.0-20250603171236-27fdb1d4744d h1:FubZUgwT1cKKeI+fybmPehRDxqv/SurjGzaCXv5IeLs =
35
+ go.starlark.net v0.0.0-20250603171236-27fdb1d4744d /go.mod h1:YKMCv9b1WrfWmeqdV5MAuEHWsu5iC+fe6kYl2sQjdI8 =
36
36
golang.org/x/sys v0.32.0 h1:s77OFDvIQeibCmezSnk/q6iAfkdiQaJi4VzroCFrN20 =
37
37
golang.org/x/sys v0.32.0 /go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k =
38
38
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE =
You can’t perform that action at this time.
0 commit comments