Skip to content

Commit d4067e4

Browse files
committed
fix: should assert against stderr instead
This was an overlook in #12205
1 parent 434509b commit d4067e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testsuite/profile_targets.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ fn profile_selection_build() {
100100
[FINISHED] dev [unoptimized + debuginfo] [..]
101101
"
102102
)
103-
.with_stdout_does_not_contain("[..] -C debuginfo=0[..]")
103+
.with_stderr_does_not_contain("[..] -C debuginfo=0[..]")
104104
.run();
105105
p.cargo("build -vv")
106106
.with_stderr_unordered(
@@ -201,7 +201,7 @@ fn profile_selection_build_all_targets() {
201201
[FINISHED] dev [unoptimized + debuginfo] [..]
202202
"
203203
)
204-
.with_stdout_does_not_contain("[..] -C debuginfo=0[..]")
204+
.with_stderr_does_not_contain("[..] -C debuginfo=0[..]")
205205
.run();
206206
p.cargo("build -vv")
207207
.with_stderr_unordered(

0 commit comments

Comments
 (0)