use crate::compare; // Footnote references may appear within a footnote. #[test] fn test_1c8325a() { let src = r##"[^a] [^a]: a[^b][^c] [^b]: b "##; let expected = r##"

1


  1. a23↩︎︎

  2. b↩︎︎

  3. ↩︎︎

"##; compare!(src, expected); } // Footnote references in unreferenced footnotes are ignored. #[test] fn test_9eab5c8() { let src = r##"para [^a]: a[^b][^c] [^b]: b "##; let expected = r##"

para

"##; compare!(src, expected); } // Footnotes may appear within footnotes. #[test] fn test_041f54c() { let src = r##"[^b] [^a] [^a]: [^b]: inner "##; let expected = r##"

1 2


  1. inner↩︎︎

  2. ↩︎︎

"##; compare!(src, expected); }