We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb5488c commit 16448d4Copy full SHA for 16448d4
crates/cargo-test-support/src/lib.rs
@@ -876,7 +876,9 @@ impl Execs {
876
/// - The order of arrays is ignored.
877
/// - Strings support patterns described in [`compare`].
878
/// - Use `"{...}"` to match any object.
879
- #[deprecated(note = "replaced with `Execs::with_stdout_data(expected.json_lines())`")]
+ #[deprecated(
880
+ note = "replaced with `Execs::with_stdout_data(expected.is_json().against_jsonlines())`"
881
+ )]
882
pub fn with_json(&mut self, expected: &str) -> &mut Self {
883
self.expect_json = Some(expected.to_string());
884
self
0 commit comments