Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664914 - dev-ruby/slim-3.0.7-r1: TestSlimEmbeddedEngines#test_render_with_markdown test fails
Summary: dev-ruby/slim-3.0.7-r1: TestSlimEmbeddedEngines#test_render_with_markdown tes...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-08-30 20:57 UTC by ernsteiswuerfel
Modified: 2019-01-01 21:13 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_664914.txt,5.31 KB, text/plain)
2018-08-30 20:57 UTC, ernsteiswuerfel
Details
build.log (slim-3.0.7-r1:20180830-173010.log,10.88 KB, text/plain)
2018-08-30 20:58 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
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.