Skip to content

Commit 0bfff61

Browse files
committed
Remove test_build_doc
This test is useless since build_doc only works in a cratesfyi-container now
1 parent 34cf4a1 commit 0bfff61

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/utils/build_doc.rs

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -144,20 +144,6 @@ mod test {
144144
use std::fs::remove_dir_all;
145145
use super::*;
146146

147-
#[test]
148-
fn test_build_doc() {
149-
let doc = build_doc("rand", None, None);
150-
assert!(doc.is_ok());
151-
152-
let root_path = Path::new("cratesfyi");
153-
assert!(root_path.join("doc").join("rand").exists());
154-
155-
remove_dir_all(root_path).unwrap();
156-
157-
let doc = build_doc("SOMECRATEWICHWILLBENVEREXISTS", None, None);
158-
assert!(doc.is_err());
159-
}
160-
161147
#[test]
162148
fn test_get_package() {
163149
let pkg = get_package("rand", None);

0 commit comments

Comments
 (0)