mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
Merge pull request #5310 from epage/pty
chore(complete): Update completest-pty
This commit is contained in:
commit
b250c0b5f5
6 changed files with 27 additions and 26 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -624,9 +624,9 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "completest-pty"
|
name = "completest-pty"
|
||||||
version = "0.4.0"
|
version = "0.5.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "7c3a1a4d91c06d649d8b3db8d1ff8712623c7a5642d7aad74bb122522ac9e055"
|
checksum = "2a6d1272e27f608f97616be67a2aed03ed8d73910b5df9a7f4a50c4ffd59d185"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"completest",
|
"completest",
|
||||||
"ptyprocess",
|
"ptyprocess",
|
||||||
|
|
|
@ -46,7 +46,7 @@ snapbox = { version = "0.4.15", features = ["diff", "path", "examples"] }
|
||||||
# Cutting out `filesystem` feature
|
# Cutting out `filesystem` feature
|
||||||
trycmd = { version = "0.14.19", default-features = false, features = ["color-auto", "diff", "examples"] }
|
trycmd = { version = "0.14.19", default-features = false, features = ["color-auto", "diff", "examples"] }
|
||||||
completest = "0.4.0"
|
completest = "0.4.0"
|
||||||
completest-pty = "0.4.0"
|
completest-pty = "0.5.0"
|
||||||
clap = { path = "../", version = "4.0.0", default-features = false, features = ["std", "derive", "help"] }
|
clap = { path = "../", version = "4.0.0", default-features = false, features = ["std", "derive", "help"] }
|
||||||
|
|
||||||
[[example]]
|
[[example]]
|
||||||
|
|
|
@ -139,6 +139,7 @@ fn complete() {
|
||||||
|
|
||||||
let input = "exhaustive \t";
|
let input = "exhaustive \t";
|
||||||
let expected = r#"% exhaustive --generate
|
let expected = r#"% exhaustive --generate
|
||||||
|
COMPLETING argument
|
||||||
--generate generate
|
--generate generate
|
||||||
--global everywhere
|
--global everywhere
|
||||||
--help Print help
|
--help Print help
|
||||||
|
|
Loading…
Reference in a new issue