refactor: Make two tests stderr not match their test name

This commit is contained in:
Scott Schafer 2023-02-20 10:13:25 -06:00
parent 1744d35e80
commit 9708e6f62d
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ fn bad1() {
.with_stderr(
"\
[ERROR] expected table for configuration key `target.nonexistent-target`, \
but found string in [..]config
but found string in [..]/config
",
)
.run();

View File

@ -3707,7 +3707,7 @@ fn panic_abort_with_build_scripts() {
p.root().join("target").rm_rf();
p.cargo("test --release -v")
.with_stderr_does_not_contain("[..]panic[..]")
.with_stderr_does_not_contain("[..]panic=abort[..]")
.run();
}