Skip to content

Commit 412aa0d

Browse files
authored
Unrolled build for rust-lang#134113
Rollup merge of rust-lang#134113 - jyn514:run-make-contains, r=jieyouxu run-make: Fix `assert_stderr_not_contains_regex` It asserted on **stdout**, not stderr. r? ``@jieyouxu``
2 parents 33c245b + 9a6deba commit 412aa0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/run-make-support/src/command.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ impl CompletedProcess {
329329
/// Checks that `stderr` does not contain the regex pattern `unexpected`.
330330
#[track_caller]
331331
pub fn assert_stderr_not_contains_regex<S: AsRef<str>>(&self, unexpected: S) -> &Self {
332-
assert_not_contains_regex(&self.stdout_utf8(), unexpected);
332+
assert_not_contains_regex(&self.stderr_utf8(), unexpected);
333333
self
334334
}
335335

0 commit comments

Comments
 (0)