mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
refactor: Make two tests stderr not match their test name
This commit is contained in:
parent
1744d35e80
commit
9708e6f62d
@ -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();
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user