Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test fails with ruby 1.8.7p357 #56

Open
graaff opened this issue Jan 16, 2012 · 1 comment
Open

Test fails with ruby 1.8.7p357 #56

graaff opened this issue Jan 16, 2012 · 1 comment

Comments

@graaff
Copy link

graaff commented Jan 16, 2012

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>

@apjanke
Copy link

apjanke commented Dec 23, 2018

Hey there. Ruby's up to like 2.5 now. Is this still an issue for you?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants