mirror of
https://github.com/clap-rs/clap
synced 2025-03-04 23:37:32 +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)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
use super::*;
|
use super::*;
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[should_fail]
|
#[should_fail]
|
||||||
fn unique_arg_names(){
|
fn unique_arg_names(){
|
||||||
|
@ -134,6 +132,5 @@ mod tests {
|
||||||
#[test]
|
#[test]
|
||||||
fn create_arg_opt(){
|
fn create_arg_opt(){
|
||||||
Arg::new("some").short("s").long("some").takes_value(true).help("help with some arg").required(true);
|
Arg::new("some").short("s").long("some").takes_value(true).help("help with some arg").required(true);
|
||||||
>>>>>>> tests
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue