mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
adding tests
This commit is contained in:
parent
9f5b33a241
commit
42b7a35987
1 changed files with 2 additions and 5 deletions
|
@ -91,10 +91,8 @@ mod args;
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
#[should_fail]
|
||||
fn unique_arg_names(){
|
||||
|
@ -134,6 +132,5 @@ mod tests {
|
|||
#[test]
|
||||
fn create_arg_opt(){
|
||||
Arg::new("some").short("s").long("some").takes_value(true).help("help with some arg").required(true);
|
||||
>>>>>>> tests
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue