require "test_helper" require "govspeak_test_helper" class GovspeakFootnoteTest < Minitest::Test include GovspeakTestHelper test_given_govspeak " Footnotes can be added[^1]. [^1]: And then later defined. Footnotes can be added too[^2]. [^2]: And then later defined too. This footnote has a reference number[^3]. And this footnote has the same reference number[^3]. [^3]: And then they both point here." do assert_html_output( %(

Footnotes can be added[footnote 1].

Footnotes can be added too[footnote 2].

This footnote has a reference number[footnote 3].

And this footnote has the same reference number[footnote 3].

  1. And then later defined. 

  2. And then later defined too. 

  3. And then they both point here.  2

), ) end end