Source: ruby-redcarpet
Version: 3.4.0-3
Severity: serious

https://buildd.debian.org/status/package.php?p=ruby-redcarpet&suite=sid

...
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.3 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-redcarpet/usr/lib/i386-linux-gnu/ruby/vendor_ruby/2.3.0:/<<PKGBUILDDIR>>/debian/ruby-redcarpet/usr/lib/ruby/vendor_ruby:.
 
GEM_PATH=debian/ruby-redcarpet/usr/share/rubygems-integration/2.3.0:/var/lib/gems/2.3.0:/usr/lib/i386-linux-gnu/rubygems-integration/2.3.0:/usr/share/rubygems-integration/2.3.0:/usr/share/rubygems-integration/all
 ruby2.3 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.3 -I"lib:lib:test"  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" 
"test/custom_render_test.rb" "test/html5_test.rb" "test/html_render_test.rb" 
"test/html_toc_render_test.rb" "test/markdown_test.rb" 
"test/pathological_inputs_test.rb" "test/redcarpet_bin_test.rb" 
"test/redcarpet_compat_test.rb" "test/safe_render_test.rb" 
"test/smarty_html_test.rb" "test/smarty_pants_test.rb" 
"test/stripdown_render_test.rb" 
Loaded suite /usr/lib/ruby/vendor_ruby/rake/rake_test_loader
Started
...................................F
===============================================================================
Failure: test_utf8_only_header_anchors(HTMLRenderTest)
/<<PKGBUILDDIR>>/test/html_render_test.rb:259:in `test_utf8_only_header_anchors'
     256:     markdown = "# 見出し"
     257:     html = "<h1 id=\"part-37870bfa194139f\">見出し</h1>"
     258: 
  => 259:     assert_equal html, render(markdown, with: [:with_toc_data])
     260:   end
     261: 
     262:   def test_escape_entities_removal_from_anchor
<"<h1 id=\"part-37870bfa194139f\">見出し</h1>"> expected but was
<"<h1 id=\"part-a194139f\">見出し</h1>">

diff:
? <h1 id="part-37870bfa194139f">見出し</h1>
===============================================================================
.....F
===============================================================================
Failure:
  </part-37870bfa194139f/> was expected to be =~
  <"<ul>\n<li>\n<a href=\"#a-title\">A title</a>\n<ul>\n<li>\n<a 
href=\"#a-nice-subtitle\">A <strong>nice</strong> subtitle</a>\n</li>\n<li>\n<a 
href=\"#another-one\">Another one</a>\n<ul>\n<li>\n<a 
href=\"#a-sub-sub-title\">A sub-sub-title</a>\n</li>\n<li>\n<a 
href=\"#part-a194139f\">見出し</a>\n</li>\n</ul>\n</li>\n</ul>\n</li>\n</ul>">.
test_toc_heading_id(HTMLTOCRenderTest)
/<<PKGBUILDDIR>>/test/html_toc_render_test.rb:43:in `test_toc_heading_id'
     40:     assert_match /a-nice-subtitle/, output
     41:     assert_match /another-one/, output
     42:     assert_match /a-sub-sub-title/, output
  => 43:     assert_match /part-37870bfa194139f/, output
     44:   end
     45: 
     46:   def test_toc_heading_with_hyphen_and_equal
===============================================================================
...............................................................................
.....

Finished in 0.586179711 seconds.
------
126 tests, 178 assertions, 2 failures, 0 errors, 0 pendings, 0 omissions, 0 
notifications
98.4127% passed
------
214.95 tests/s, 303.66 assertions/s
rake aborted!
Command failed with status (1): [ruby -I"lib:lib:test"  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" 
"test/custom_render_test.rb" "test/html5_test.rb" "test/html_render_test.rb" 
"test/html_toc_render_test.rb" "test/markdown_test.rb" 
"test/pathological_inputs_test.rb" "test/redcarpet_bin_test.rb" 
"test/redcarpet_compat_test.rb" "test/safe_render_test.rb" 
"test/smarty_html_test.rb" "test/smarty_pants_test.rb" 
"test/stripdown_render_test.rb" ]

Tasks: TOP => default => test
(See full trace by running task with --trace)
ERROR: Test "ruby2.3" failed. Exiting.
dh_auto_install: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-redcarpet 
returned exit code 1
debian/rules:6: recipe for target 'binary-arch' failed
make: *** [binary-arch] Error 1
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to