Init testing
This commit is contained in:
parent
529ed2b429
commit
7013a3e0a0
3 changed files with 10 additions and 0 deletions
|
@ -3,6 +3,9 @@ extern crate clap;
|
|||
|
||||
mod args;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
fn main() {
|
||||
let matches = args::get_matches();
|
||||
}
|
||||
|
|
6
src/tests/args.rs
Normal file
6
src/tests/args.rs
Normal file
|
@ -0,0 +1,6 @@
|
|||
use args;
|
||||
|
||||
#[test]
|
||||
fn it_works() {
|
||||
assert_eq!(4, 4);
|
||||
}
|
1
src/tests/mod.rs
Normal file
1
src/tests/mod.rs
Normal file
|
@ -0,0 +1 @@
|
|||
pub mod args;
|
Reference in a new issue