diff options
Diffstat (limited to 'structopt/tests/raw_idents.rs')
-rw-r--r-- | structopt/tests/raw_idents.rs | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/structopt/tests/raw_idents.rs b/structopt/tests/raw_idents.rs deleted file mode 100644 index c00ff66..0000000 --- a/structopt/tests/raw_idents.rs +++ /dev/null @@ -1,17 +0,0 @@ -use structopt::StructOpt; - -#[test] -fn raw_idents() { - #[derive(StructOpt, Debug, PartialEq)] - struct Opt { - #[structopt(short, long)] - r#type: Vec<String>, - } - - assert_eq!( - Opt { - r#type: vec!["long".into(), "short".into()] - }, - Opt::from_iter(&["test", "--type", "long", "-t", "short"]) - ); -} |