moved the test data to own directory
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,2 +1,3 @@
|
||||
/target
|
||||
dist
|
||||
docs
|
||||
|
||||
@@ -12,7 +12,6 @@ fn asciidoctor(postfix: &str, in_path: &str, out_path: &str) -> Result<(), Strin
|
||||
if success.stderr.len() == 0 {
|
||||
return Ok(());
|
||||
} else {
|
||||
println!("something went wrong");
|
||||
return Err(AsciiDoctorDocsBuilder::from_utf8(success.stderr));
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -2,7 +2,7 @@ use crate::app::fs_util;
|
||||
|
||||
#[test]
|
||||
fn test_fetch_asciidoctor_paths_recursive() {
|
||||
let paths = fs_util::fetch_paths_recursive("docs", ".adoc").unwrap();
|
||||
let paths = fs_util::fetch_paths_recursive("res/test/docs", ".adoc").unwrap();
|
||||
let len = paths.len();
|
||||
dbg!(paths);
|
||||
assert_eq!(len, 4);
|
||||
|
||||
Reference in New Issue
Block a user