Skip to content

Commit

Permalink
Workaround for tests where different quotes are emitted on different …
Browse files Browse the repository at this point in the history
…machines
  • Loading branch information
basile-henry committed Oct 13, 2022
1 parent 5cedfbb commit 83e0c66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/testsuite/metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1910,7 +1910,7 @@ fn cargo_metadata_bad_version() {
.with_status(1)
.with_stderr_contains(
"\
error: \"2\" isn't a valid value for '--format-version <VERSION>'
error: [..]2[..] isn't a valid value for '--format-version <VERSION>'
[possible values: 1]
",
)
Expand Down
2 changes: 1 addition & 1 deletion tests/testsuite/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ fn new_default_edition() {
#[cargo_test]
fn new_with_bad_edition() {
cargo_process("new --edition something_else foo")
.with_stderr_contains("error: \"something_else\" isn't a valid value[..]")
.with_stderr_contains("error: [..]something_else[..] isn't a valid value[..]")
.with_status(1)
.run();
}
Expand Down

0 comments on commit 83e0c66

Please sign in to comment.