We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
assert_stderr_not_contains_regex
1 parent ff7906b commit 9a6debaCopy full SHA for 9a6deba
src/tools/run-make-support/src/command.rs
@@ -329,7 +329,7 @@ impl CompletedProcess {
329
/// Checks that `stderr` does not contain the regex pattern `unexpected`.
330
#[track_caller]
331
pub fn assert_stderr_not_contains_regex<S: AsRef<str>>(&self, unexpected: S) -> &Self {
332
- assert_not_contains_regex(&self.stdout_utf8(), unexpected);
+ assert_not_contains_regex(&self.stderr_utf8(), unexpected);
333
self
334
}
335
0 commit comments