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

fix(cheatcodes): add repro test for once reported issues around empty JSON arrays #7348

Merged
merged 2 commits into from
Mar 9, 2024

Conversation

zerosnacks
Copy link
Member

@zerosnacks zerosnacks commented Mar 8, 2024

Closes #4402, no longer an issue, no changes required.

Motivation

To make sure recent TOML cheatcodes work correctly on empty arrays, given that #4402 reportedly had issues at one time.

Solution

Adds a reproduction test to make sure this issue was indeed fixed and won't arise again.

@mattsse mattsse merged commit 9f6bb3b into foundry-rs:master Mar 9, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

json.readArray() causes panic when reading empty arrays
3 participants