1
0
Fork 0
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:
Samuel Štancl 2023-11-25 20:48:32 +01:00
parent ffd29a34ec
commit 7bb891503f

View file

@ -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]);
}
}