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 failure: TestSlimEmbeddedEngines#test_render_with_markdown #857

Closed
Apteryks opened this issue Jul 10, 2020 · 2 comments
Closed

Test failure: TestSlimEmbeddedEngines#test_render_with_markdown #857

Apteryks opened this issue Jul 10, 2020 · 2 comments

Comments

@Apteryks
Copy link

Hello,

I have the failure reported below, where the indentation of the expected source block doesn't match the rendered version:

starting phase `check'
/tmp/guix-build-ruby-slim-4.1.0.drv-0/gem/lib/slim/grammar.rb:7: warning: possibly useless use of | in void context
/tmp/guix-build-ruby-slim-4.1.0.drv-0/gem/lib/slim/grammar.rb:14: warning: possibly useless use of | in void context
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/grammar.rb:35: warning: possibly useless use of | in void context
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/grammar.rb:39: warning: possibly useless use of | in void context
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/grammar.rb:45: warning: possibly useless use of | in void context
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/grammar.rb:51: warning: possibly useless use of | in void context
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb:146: warning: deprecated Object#=~ is called on Class; it always returns nil
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb:146: warning: deprecated Object#=~ is called on Class; it always returns nil
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb:146: warning: deprecated Object#=~ is called on Class; it always returns nil
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb:146: warning: deprecated Object#=~ is called on Class; it always returns nil
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb:146: warning: deprecated Object#=~ is called on Class; it always returns nil
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb:146: warning: deprecated Object#=~ is called on Class; it always returns nil
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb:146: warning: deprecated Object#=~ is called on Class; it always returns nil
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb:146: warning: deprecated Object#=~ is called on Class; it always returns nil
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb:146: warning: deprecated Object#=~ is called on Class; it always returns nil
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb:146: warning: deprecated Object#=~ is called on Class; it always returns nil
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb:146: warning: deprecated Object#=~ is called on Class; it always returns nil
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb:146: warning: deprecated Object#=~ is called on Class; it always returns nil
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb:146: warning: deprecated Object#=~ is called on Class; it always returns nil
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb:146: warning: deprecated Object#=~ is called on Class; it always returns nil
/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby/gems/temple-0.8.2/lib/temple/mixins/grammar_dsl.rb:146: warning: deprecated Object#=~ is called on Class; it always returns nil
Run options: --seed 26405

# Running:

........................................../gnu/store/gvcmscpprfgswq7g14s14w5ci8vyam28-ruby-sassc-2.2.1/lib/ruby/vendor_ruby/gems/sassc-2.2.1/lib/sassc/native.rb:9: warning: assigned but unused variable - dl_ext
...F....................(__TEMPLATE__):3: warning: assigned but unused variable - test
......(__TEMPLATE__):3: warning: assigned but unused variable - a
.........(__TEMPLATE__):2: warning: possibly useless use of a variable in void context
.........................(__TEMPLATE__):4: warning: possibly useless use of a variable in void context
.............................................................(__TEMPLATE__):2: warning: possibly useless use of a variable in void context
.............(__TEMPLATE__):2: warning: possibly useless use of a variable in void context
....(__TEMPLATE__):1: warning: possibly useless use of a variable in void context
...................(__TEMPLATE__):2: warning: possibly useless use of a variable in void context
.(__TEMPLATE__):2: warning: possibly useless use of a variable in void context
.(__TEMPLATE__):2: warning: possibly useless use of a variable in void context
(__TEMPLATE__):4: warning: possibly useless use of a variable in void context
(__TEMPLATE__):5: warning: possibly useless use of a variable in void context
.............(__TEMPLATE__):2: warning: possibly useless use of a variable in void context
..(__TEMPLATE__):2: warning: possibly useless use of a variable in void context
(__TEMPLATE__):3: warning: possibly useless use of a variable in void context
...............................................................................

Finished in 7.188914s, 41.5918 runs/s, 70.9426 assertions/s.

  1) Failure:
TestSlimEmbeddedEngines#test_render_with_markdown [/tmp/guix-build-ruby-slim-4.1.0.drv-0/gem/test/core/test_embedded_engines.rb:25]:
--- expected
+++ actual
@@ -1,10 +1,6 @@
-"<h1 id=\"header\">Header</h1>
-<p>Hello from Markdown!</p>
-
+"<p>#Header Hello from Markdown!</p>
 <p>3</p>
-
 <ul>
-  <li>one</li>
-  <li>two</li>
-</ul>
-"
+<li>one</li>
+<li>two</li>
+</ul>"


299 runs, 510 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1)
/gnu/store/xk4rcja1xzi7x7rjg0fbg8rn6xia4nn5-ruby-rake-13.0.1/lib/ruby/vendor_ruby/gems/rake-13.0.1/exe/rake:27:in `<top (required)>'
Tasks: TOP => test => test:core_and_plugins => test:core
(See full trace by running task with --trace)
command "rake" "test" failed with status 1

The build is made is a clean container with GEM_PATH set to the following value: /gnu/store/8ql9jjzl8q291ghsxlkm1wn5bpdvgcqw-ruby-2.6.5/lib/ruby/vendor_ruby:/gnu/store/npgmpxqjhi702j7h26vm614j0w0piymr-ruby-rack-test-0.8.3/lib/ruby/vendor_ruby:/gnu/store/ak55kvgymxrsi2ncs1g4ygmvsvcb00zr-ruby-sinatra-2.0.8.1/lib/ruby/vendor_ruby:/gnu/store/a5f68nhmblgx0r68aaw4bxv9z40z6rp6-ruby-temple-0.8.2/lib/ruby/vendor_ruby:/gnu/store/4bd9jaxj2mgy9bl9zdja44zhpk0z4qvy-ruby-tilt-2.0.9/lib/ruby/vendor_ruby:/gnu/store/mgl46vfaqyrmczshilw39yxgvzjkfmzd-ruby-rack-2.0.6/lib/ruby/vendor_ruby:/gnu/store/ryw4k12yw6nrk415dzgl5p5cwn00pmds-ruby-rack-protection-2.0.5/lib/ruby/vendor_ruby:/gnu/store/wg962hafdbwdxibr8qjc95lzjw7ixjc1-ruby-mustermann-1.0.3/lib/ruby/vendor_ruby:/gnu/store/gvcmscpprfgswq7g14s14w5ci8vyam28-ruby-sassc-2.2.1/lib/ruby/vendor_ruby:/gnu/store/9c7cb7ji56wphh0cbm1szvnzdfvynbj5-ruby-pandoc-ruby-2.1.4/lib/ruby/vendor_ruby:/gnu/store/8z5nv7awf3yiycvhghkiqi02k5f6yzqm-ruby-concurrent-1.1.5/lib/ruby/vendor_ruby:/gnu/store/xk4rcja1xzi7x7rjg0fbg8rn6xia4nn5-ruby-rake-13.0.1/lib/ruby/vendor_ruby:/gnu/store/7xfq2nbflyynknvwni1yxkxxilfx3182-ruby-ffi-1.12.2/lib/ruby/vendor_ruby.

@Segaja
Copy link

Segaja commented Oct 31, 2022

I'm facing the same issue trying to package this for Arch Linux

@minad
Copy link
Member

minad commented Dec 31, 2022

This probably depends on the markdown engine you are using. The CI testsuite use kramdown. Besides that the failure seems harmless.

@minad minad closed this as completed Dec 31, 2022
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

3 participants