mirror of
https://github.com/archtechx/todo-system.git
synced 2025-12-12 00:54:03 +00:00
move tests to a separate module
This commit is contained in:
parent
ffd29a34ec
commit
7bb891503f
1 changed files with 515 additions and 510 deletions
|
|
@ -369,6 +369,10 @@ pub fn scan_readme_file(path: &Path, entries: &mut Vec<Entry>) -> io::Result<()>
|
|||
Ok(())
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
fn generic_test() {
|
||||
let str = r#"
|
||||
|
|
@ -890,3 +894,4 @@ fn readme_file_test() {
|
|||
}
|
||||
}, entries[3]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue