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: include traces field when running forge test -vvvv --json #9034

Merged
merged 5 commits into from
Oct 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update crates/forge/tests/cli/test_cmd.rs
Co-authored-by: DaniPopes <[email protected]>
zerosnacks and DaniPopes authored Oct 7, 2024

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
commit d482944ca0807932480b4b4348031f3619c7f491
2 changes: 1 addition & 1 deletion crates/forge/tests/cli/test_cmd.rs
Original file line number Diff line number Diff line change
@@ -305,7 +305,7 @@ forgetest_init!(can_run_test_with_json_output_verbose, |prj, cmd| {
// Assert that with verbose output the json output includes the traces
cmd.args(["test", "-vvv", "--json"])
.assert_success()
.stdout_eq(file!["../fixtures/SimpleContractTestVerbose.json"]);
.stdout_eq(file!["../fixtures/SimpleContractTestVerbose.json"; Json]);
});

forgetest_init!(can_run_test_with_json_output_non_verbose, |prj, cmd| {