Skip to content

Commit 1038f0b

Browse files
committed
Fix search index tests
1 parent 942cc12 commit 1038f0b

File tree

2 files changed

+106
-67
lines changed

2 files changed

+106
-67
lines changed

tests/rendered_output.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,10 @@ mod search {
595595
docs[&summary]["body"],
596596
"Dummy Book Introduction First Chapter Nested Chapter Includes Recursive Markdown Unicode Second Chapter Nested Chapter Conclusion"
597597
);
598-
assert_eq!(docs[&summary]["breadcrumbs"], "First Chapter » Summary");
598+
assert_eq!(
599+
docs[&summary]["breadcrumbs"],
600+
"First Chapter » Includes » Summary"
601+
);
599602
assert_eq!(docs[&conclusion]["body"], "I put <HTML> in here!");
600603
}
601604

0 commit comments

Comments
 (0)