Skip to content

Commit e66c2a5

Browse files
committed
test: fix subsections → ignored_subsections
1 parent 516bae8 commit e66c2a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: components/site/tests/site.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fn can_parse_site() {
4343
assert!(index_section.ancestors.is_empty());
4444

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

0 commit comments

Comments
 (0)