` found in `chapter_1.md (opened at line 3)` at end of document (line 5)
+ INFO HTML book written to `[ROOT]/book`
+
+"#]]);
+ });
+}
+
// Test for HTML tags out of sync.
#[test]
fn unbalanced_html_tags() {
@@ -294,7 +314,7 @@ fn unbalanced_html_tags() {
INFO Running the html backend
WARN unexpected HTML end tag `
` found in `chapter_1.md`
Check that the HTML tags are properly balanced.
- WARN unclosed HTML tag `` found in `chapter_1.md`
+ WARN unclosed HTML tag `
` found in `chapter_1.md (opened at line 1)` at end of document (line 1)
INFO HTML book written to `[ROOT]/book`
"#]]);
@@ -311,7 +331,7 @@ fn heading_with_unbalanced_html() {
cmd.expect_stderr(str![[r#"
INFO Book building has started
INFO Running the html backend
- WARN unclosed HTML tag `` found in `chapter_1.md` while exiting Heading(H3)
+ WARN unclosed HTML tag `` found in `chapter_1.md (opened at line 1)` while exiting Heading(H3) at line 1
HTML tags must be closed before exiting a markdown element.
INFO HTML book written to `[ROOT]/book`