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

test: enhance tests #9334

Merged
merged 6 commits into from
Nov 16, 2024
Merged

test: enhance tests #9334

merged 6 commits into from
Nov 16, 2024

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Nov 16, 2024

No description provided.

Copy link
Collaborator

@grandizzy grandizzy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

@@ -893,6 +893,15 @@ impl TestCommand {
self.assert().success()
}

/// Runs the command and asserts that it resulted in success, with expected JSON data.
#[track_caller]
pub fn assert_json_response(&mut self, expected: Inline) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assert_json_stdout?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, changed

grandizzy and others added 3 commits November 16, 2024 13:46
Co-authored-by: DaniPopes <57450786+DaniPopes@users.noreply.github.com>
@grandizzy grandizzy merged commit d14c09f into foundry-rs:master Nov 16, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

4 participants