mirror of
https://github.com/getzola/zola
synced 2024-11-15 00:27:38 +00:00
Disable check_site test for now
This commit is contained in:
parent
2966adbe4e
commit
44a07a4a55
1 changed files with 14 additions and 13 deletions
|
@ -684,16 +684,17 @@ fn can_ignore_markdown_content() {
|
|||
assert!(!file_exists!(public, "posts/ignored/index.html"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn check_site() {
|
||||
let (mut site, _tmp_dir, _public) = build_site("test_site");
|
||||
|
||||
assert_eq!(
|
||||
site.config.link_checker.skip_anchor_prefixes,
|
||||
vec!["https://github.com/rust-lang/rust/blob/"]
|
||||
);
|
||||
assert_eq!(site.config.link_checker.skip_prefixes, vec!["http://[2001:db8::]/"]);
|
||||
|
||||
site.config.enable_check_mode();
|
||||
site.load().expect("link check test_site");
|
||||
}
|
||||
// Can timeout CI https://github.com/getzola/zola/issues/908
|
||||
//#[test]
|
||||
//fn check_site() {
|
||||
// let (mut site, _tmp_dir, _public) = build_site("test_site");
|
||||
//
|
||||
// assert_eq!(
|
||||
// site.config.link_checker.skip_anchor_prefixes,
|
||||
// vec!["https://github.com/rust-lang/rust/blob/"]
|
||||
// );
|
||||
// assert_eq!(site.config.link_checker.skip_prefixes, vec!["http://[2001:db8::]/"]);
|
||||
//
|
||||
// site.config.enable_check_mode();
|
||||
// site.load().expect("link check test_site");
|
||||
//}
|
||||
|
|
Loading…
Reference in a new issue