feat: support hiding folders with --hidden (#73)

This commit is contained in:
sigoden
2022-06-25 08:15:16 +08:00
committed by GitHub
parent c1c6dbc356
commit eb7a536a3f
13 changed files with 183 additions and 50 deletions

View File

@@ -67,7 +67,7 @@ fn allow_search(#[with(&["--allow-search"])] server: TestServer) -> Result<(), E
let paths = utils::retrive_index_paths(&resp.text()?);
assert!(!paths.is_empty());
for p in paths {
assert!(p.contains(&"test.html"));
assert!(p.contains("test.html"));
}
Ok(())
}