You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Test failures for TestOracleSetPr286Regression #288
The following tests fail for me (on amd64 Linux) both for the Docker version (make build/make test) with Go 1.25 as well as with my native Go 1.26:
❯ go test -v ./... -run TestOracleSetPr286Regression
=== RUN TestOracleSetPr286Regression
=== RUN TestOracleSetPr286Regression/pr286-top-level-oob
reference_oracle_test.go:681: Set succeeded but Get can't find path:
in="[1,2]"
path=[[5]]
val="9"
out="[1,2,9]"
err=Key path not found
=== RUN TestOracleSetPr286Regression/pr286-top-level-far
reference_oracle_test.go:681: Set succeeded but Get can't find path:
in="[1,2,3]"
path=[[99]]
val="9"
out="[1,2,3,9]"
err=Key path not found
=== RUN TestOracleSetPr286Regression/pr286-top-level-len
=== RUN TestOracleSetPr286Regression/pr286-empty-array-index
=== RUN TestOracleSetPr286Regression/pr286-nested-oob-OPEN-BUG
reference_oracle_test.go:676: KNOWN BUG (open): Set({"a":[1,2]}, 9, "a", "[99]") returns {"a":[9]} (data loss). Path=[a [99]], in="{\"a\":[1,2]}", out="{\"a\":[1,2,9]}". When this bug is fixed, replace this t.Logf with t.Fatalf.
--- FAIL: TestOracleSetPr286Regression (0.00s)
--- FAIL: TestOracleSetPr286Regression/pr286-top-level-oob (0.00s)
--- FAIL: TestOracleSetPr286Regression/pr286-top-level-far (0.00s)
--- PASS: TestOracleSetPr286Regression/pr286-top-level-len (0.00s)
--- PASS: TestOracleSetPr286Regression/pr286-empty-array-index (0.00s)
--- PASS: TestOracleSetPr286Regression/pr286-nested-oob-OPEN-BUG (0.00s)
FAIL
FAIL github.com/buger/jsonparser 0.003s
FAIL
❯ go version
go version go1.26.3 linux/amd64
This currently also blocks Debian packaging of this library.
Activity