Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on jsonValue to be checked #5519

Open
dubzzz opened this issue Dec 12, 2024 · 0 comments
Open

Issue on jsonValue to be checked #5519

dubzzz opened this issue Dec 12, 2024 · 0 comments

Comments

@dubzzz
Copy link
Owner

dubzzz commented Dec 12, 2024

💥 Regression Report

https://github.com/dubzzz/fast-check/actions/runs/12306265865/job/34347724793#step:9:1

FAIL  test/unit/arbitrary/jsonValue.spec.ts > jsonValue (integration) > should only produce correct values
Error: Property failed after 35 tests
{ seed: -1477621317, path: "34", endOnFailure: true }
Counterexample: [1249453856,undefined,Stream(17,0,19,20,11,4,16,10,4,13,8,0,5,14,2,11,8,16,16,19,13,16,16…),{"maxDepth":5,"noUnicodeString":true,"stringUnit":"binary-ascii"}]
Shrunk 0 time(s)
Got error: Expect: {"\u0000":false,"\\[":false} to be a correct value

Got error: AssertionError: expected { '\u0000': false, '\\\': false } to deeply equal { '\u0000': false, '\\[': false }
    at assertCorrectness (/home/runner/work/fast-check/fast-check/packages/fast-check/test/unit/arbitrary/__test-helpers__/ArbitraryAssertions.ts:311:11)
    at /home/runner/work/fast-check/fast-check/packages/fast-check/test/unit/arbitrary/__test-helpers__/ArbitraryAssertions.ts:102:13
    at Property.predicate (/home/runner/work/fast-check/fast-check/packages/fast-check/lib/esm/check/property/Property.js:14:54)
    at Property.run (/home/runner/work/fast-check/fast-check/packages/fast-check/lib/esm/check/property/Property.generic.js:46:33)
    at runIt (/home/runner/work/fast-check/fast-check/packages/fast-check/lib/esm/check/runner/Runner.js:18:30)
    at check (/home/runner/work/fast-check/fast-check/packages/fast-check/lib/esm/check/runner/Runner.js:62:11)
    at Module.assert (/home/runner/work/fast-check/fast-check/packages/fast-check/lib/esm/check/runner/Runner.js:65:17)
    at Module.assertProduceCorrectValues (/home/runner/work/fast-check/fast-check/packages/fast-check/test/unit/arbitrary/__test-helpers__/ArbitraryAssertions.ts:88:6)
    at /home/runner/work/fast-check/fast-check/packages/fast-check/test/unit/arbitrary/jsonValue.spec.ts:64:5
    at file:///home/runner/.yarn/berry/cache/@vitest-runner-npm-2.1.8-b6a852e96f-10c0.zip/node_modules/@vitest/runner/dist/index.js:146:14

Hint: Enable verbose mode in order to have the list of all failing values encountered during the run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant