Skip to content

Commit

Permalink
test: fix subsections → ignored_subsections
Browse files Browse the repository at this point in the history
  • Loading branch information
bemyak committed Dec 13, 2023
1 parent 516bae8 commit e66c2a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/site/tests/site.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ fn can_parse_site() {
assert!(index_section.ancestors.is_empty());

let posts_section = library.sections.get(&posts_path.join("_index.md")).unwrap();
assert_eq!(posts_section.subsections.len(), 2);
assert_eq!(posts_section.ignored_subsections.len(), 2);
assert_eq!(posts_section.pages.len(), 10); // 11 with 1 draft == 10
assert_eq!(posts_section.ancestors, vec![index_section.file.relative.clone()]);

Expand Down

0 comments on commit e66c2a5

Please sign in to comment.