diff --git a/tests/testsuite/markdown.rs b/tests/testsuite/markdown.rs index 50471826..537a8e06 100644 --- a/tests/testsuite/markdown.rs +++ b/tests/testsuite/markdown.rs @@ -1,6 +1,7 @@ //! Tests for special markdown rendering. use crate::prelude::*; +use snapbox::file; // Checks custom header id and classes. #[test] @@ -16,47 +17,10 @@ fn custom_header_attributes() { // Test for a variety of footnote renderings. #[test] fn footnotes() { - BookTest::from_dir("markdown/footnotes") - .check_main_file("book/footnotes.html", str![[r##" -
Footnote example1, or with a word2.
-There are multiple references to word2.
-Footnote without a paragraph3
-Footnote with multiple paragraphs4
-Footnote name with wacky characters5
-Testing when referring to something earlier.6
-A longer footnote. -With multiple lines. Link to other. -With a reference inside.1 ↩ ↩2
-One
-Two
-Three ↩
-Testing footnote id with special characters. ↩
-This is defined before it is referred to. ↩
-Footnote example1, or with a word2.
+There are multiple references to word2.
+Footnote without a paragraph3
+Footnote with multiple paragraphs4
+Footnote name with wacky characters5
+Testing when referring to something earlier.6
+