Merge branch 'main' of https://github.com/cflmy/marqdo
# Conflicts: # tests/migrate.rs # tests/occlusion/classic-index.mq.md
This commit is contained in:
commit
c773503938
364 files changed
+1870
-1004
No files matched your search
+1
-1
@@ -1792,7 +1792,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn structure_omits_imported_lib_bodies() {
|
||||
let src = "---\ntitle: t\nimport text:lib/text.mq.md\n---\n\n# main\n\n> print text=hi\n";
|
||||
let src = "---\ntitle: t\nimport:\n text: lib/text.mq.md\n---\n\n# main\n\n> print text=hi\n";
|
||||
let local = crate::parse::parse_source(src).unwrap();
|
||||
let html = render_module_structure(&local, src);
|
||||
assert!(html.contains("doc-imports") || html.contains("lib/text.mq.md"), "{html}");
|
||||
|
||||
Reference in new issue
Block a user