Skip to content

Commit 922cfe5

Browse files
committed
fix(test): Remove unused deprecated function
1 parent 96a5897 commit 922cfe5

File tree

1 file changed

+0
-11
lines changed
  • crates/cargo-test-support/src

1 file changed

+0
-11
lines changed

crates/cargo-test-support/src/lib.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -747,17 +747,6 @@ impl Execs {
747747
self
748748
}
749749

750-
/// Verifies that stdout contains the given contiguous lines somewhere in
751-
/// its output, and should be repeated `number` times.
752-
///
753-
/// See [`compare`] for supported patterns.
754-
#[deprecated(note = "replaced with `Execs::with_stdout_data(expected)`")]
755-
pub fn with_stdout_contains_n<S: ToString>(&mut self, expected: S, number: usize) -> &mut Self {
756-
self.expect_stdout_contains_n
757-
.push((expected.to_string(), number));
758-
self
759-
}
760-
761750
/// Verifies that stdout does not contain the given contiguous lines.
762751
///
763752
/// See [`compare`] for supported patterns.

0 commit comments

Comments
 (0)