Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 664914

Summary: dev-ruby/slim-3.0.7-r1: TestSlimEmbeddedEngines#test_render_with_markdown test fails
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED OBSOLETE    
Severity: normal Keywords: TESTFAILURE
Priority: Normal    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description ernsteiswuerfel archtester 2018-08-30 20:57:18 UTC
Created attachment 545524 [details]
emerge --info

1) Failure:
TestSlimEmbeddedEngines#test_render_with_markdown [/var/tmp/portage/dev-ruby/slim-3.0.7-r1/work/ruby23/slim-3.0.7/test/core/test_embedded_engines.rb:53]:
--- expected
+++ actual
@@ -1,10 +1,13 @@
-"<h1 id=\"header\">Header</h1>
+"
+<h1 id=\"header\">Header</h1>
+
 <p>Hello from Markdown!</p>
 
 <p>3</p>
 
 <ul>
-  <li>one</li>
-  <li>two</li>
+<li>one</li>
+
+<li>two</li>
 </ul>
 "


275 runs, 415 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w -I"lib:lib:test/core" -I"/usr/lib/ruby/gems/2.3.0/gems/rake-12.3.1/lib" "/usr/lib/ruby/gems/2.3.0/gems/rake-12.3.1/lib/rake/rake_test_loader.rb" "test/core/test_code_blocks.rb" "test/core/test_code_escaping.rb" "test/core/test_code_evaluation.rb" "test/core/test_code_output.rb" "test/core/test_code_structure.rb" "test/core/test_commands.rb" "test/core/test_embedded_engines.rb" "test/core/test_encoding.rb" "test/core/test_erb_converter.rb" "test/core/test_html_attributes.rb" "test/core/test_html_escaping.rb" "test/core/test_html_structure.rb" "test/core/test_parser_errors.rb" "test/core/test_pretty.rb" "test/core/test_ruby_errors.rb" "test/core/test_slim_template.rb" "test/core/test_tabs.rb" "test/core/test_text_interpolation.rb" "test/core/test_thread_options.rb" "test/core/test_unicode.rb" ]
Comment 1 ernsteiswuerfel archtester 2018-08-30 20:58:19 UTC
Created attachment 545526 [details]
build.log
Comment 2 Hans de Graaff gentoo-dev Security 2018-08-31 06:18:40 UTC
I can't reproduce this.

Do you still see this with slim 3.0.9?

Which version of dev-ruby/tilt and dev-ruby/temple do you use?
Comment 3 ernsteiswuerfel archtester 2018-08-31 09:59:01 UTC
[ebuild   R   ~] dev-ruby/tilt-2.0.8:2::gentoo  USE="{test}" RUBY_TARGETS="ruby23 ruby24 ruby25" 0 KiB
[ebuild   R    ] dev-ruby/temple-0.8.0:0.7::gentoo  USE="{test}" RUBY_TARGETS="ruby23 ruby24 ruby25" 0 KiB

I will check slim-3.0.9 later and report back.
Comment 4 ernsteiswuerfel archtester 2018-08-31 11:42:08 UTC
slim-3.0.9 passes the tests!

But it's not stable (yet) on ppc, as this was not requested in bug #656806.
Comment 5 ernsteiswuerfel archtester 2019-01-01 21:13:02 UTC
Fixed with slim-3.0.9 going stable in bug #673214.