chore: Update tests for latest clap

This commit is contained in:
Ed Page 2022-10-13 15:16:38 -05:00
parent b592ba4d97
commit 5f30808d00
3 changed files with 3 additions and 3 deletions

View file

@ -62,7 +62,7 @@ toml_edit = { version = "0.14.3", features = ["serde", "easy", "perf"] }
unicode-xid = "0.2.0"
url = "2.2.2"
walkdir = "2.2"
clap = "4.0.4"
clap = "4.0.15"
unicode-width = "0.1.5"
openssl = { version = '0.10.11', optional = true }
im-rc = "15.0.0"

View file

@ -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]
",
)

View file

@ -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();
}