mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 14:54:15 +00:00
test: Update
This commit is contained in:
parent
84416b267c
commit
0dfdeb07bc
3 changed files with 4 additions and 4 deletions
|
@ -18,13 +18,13 @@ Args { defines: [("Foo", 10), ("Alice", 30)] }
|
|||
|
||||
$ keyvalue-derive -D Foo
|
||||
? failed
|
||||
error: Invalid value for '-D <DEFINES>': invalid KEY=value: no `=` found in `Foo`
|
||||
error: Invalid value "Foo" for '-D <DEFINES>': invalid KEY=value: no `=` found in `Foo`
|
||||
|
||||
For more information try --help
|
||||
|
||||
$ keyvalue-derive -D Foo=Bar
|
||||
? failed
|
||||
error: Invalid value for '-D <DEFINES>': invalid digit found in string
|
||||
error: Invalid value "Foo=Bar" for '-D <DEFINES>': invalid digit found in string
|
||||
|
||||
For more information try --help
|
||||
|
||||
|
|
|
@ -472,7 +472,7 @@ PORT = 22
|
|||
|
||||
$ 04_02_validate foobar
|
||||
? failed
|
||||
error: Invalid value for '<PORT>': invalid digit found in string
|
||||
error: Invalid value "foobar" for '<PORT>': invalid digit found in string
|
||||
|
||||
For more information try --help
|
||||
|
||||
|
|
|
@ -438,7 +438,7 @@ PORT = 22
|
|||
|
||||
$ 04_02_validate_derive foobar
|
||||
? failed
|
||||
error: Invalid value for '<PORT>': invalid digit found in string
|
||||
error: Invalid value "foobar" for '<PORT>': invalid digit found in string
|
||||
|
||||
For more information try --help
|
||||
|
||||
|
|
Loading…
Reference in a new issue