mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
tests: relax bad_crate_type
to only match error message prefix
So that the cargo test isn't sensitive to suggestions for known crate types that a rustc PR <https://github.com/rust-lang/rust/pull/134720> is trying to add.
This commit is contained in:
parent
0276088d44
commit
17aaafd92f
@ -427,7 +427,7 @@ fn bad_crate_type() {
|
||||
Caused by:
|
||||
process didn't exit successfully: `rustc - --crate-name ___ --print=file-names --crate-type bad_type` ([EXIT_STATUS]: 1)
|
||||
--- stderr
|
||||
[ERROR] unknown crate type: `bad_type`
|
||||
[ERROR] unknown crate type: `bad_type`[..]
|
||||
|
||||
|
||||
"#]])
|
||||
|
Loading…
x
Reference in New Issue
Block a user