Skip to content

Commit 9a6deba

Browse files
committed
run-make: Fix assert_stderr_not_contains_regex
It asserted on **stdout**, not stderr.
1 parent ff7906b commit 9a6deba

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)