ronn
ronn copied to clipboard
Test fails with ruby 1.8.7p357
I'm getting the following test failure with ruby 1.8.7 (2011-12-28 patchlevel 357) [x86_64-linux], most likely caused by the less predictable hash ordering introduced in that patch level:
1) Failure:
test_section_reference_links_HTML(RonnTest) [/var/tmp/portage/app-text/ronn-0.7.3/work/ruby18/ronn-0.7.3/test/test_ronn.rb:81]:
--- /var/tmp/portage/app-text/ronn-0.7.3/work/ruby18/ronn-0.7.3/test/section_reference_links.html 2012-01-16 20:13:35.971658835 +0100
+++ /var/tmp/portage/app-text/ronn-0.7.3/work/ruby18/ronn-0.7.3/test/section_reference_links.html.wrong 2012-01-16 20:13:43.803311607 +0100
@@ -10,8 +10,8 @@
<h2 id="SECTION-2">SECTION 2</h2>
-<p>See <a href="#SECTION-1" title="SECTION 1" data-bare-link="true">SECTION 1</a>
-or <a href="#SECTION-1" title="SECTION 1" data-bare-link="true">to put it another way</a>
-or even <a href="#SECTION-1" data-bare-link="true">link this</a></p>
+<p>See <a data-bare-link="true" title="SECTION 1" href="#SECTION-1">SECTION 1</a>
+or <a data-bare-link="true" title="SECTION 1" href="#SECTION-1">to put it another way</a>
+or even <a data-bare-link="true" href="#SECTION-1">link this</a></p>
Hey there. Ruby's up to like 2.5 now. Is this still an issue for you?