Package: src:ruby-reverse-markdown
Version: 3.0.0-1
Tags: ftbfs sid forky
User: debian-xml-sgml-p...@lists.alioth.debian.org
Usertags: libxml2.14
[this bug is NOT targeted to the upcoming trixie release]
[...]
81s Pending: (Failures listed here are expected and do not affect your
suite's status)
81s
81s 1) ReverseMarkdown list item containing multiple <p> tags
81s # Temporarily skipped with xit
81s # ./spec/components/lists_spec.rb:43
81s
81s Failures:
81s
81s 1) ReverseMarkdown#config force_encoding option raises invalid
byte sequence in UTF-8 exception
81s Failure/Error: expect { ReverseMarkdown.convert("hi \255")
}.to raise_error { [Encoding::CompatibilityError,
ArgumentError].include?(_1.class) }
81s expected Exception but nothing was raised
81s # ./spec/lib/reverse_markdown_spec.rb:40:in `block (4 levels)
in <top (required)>'
81s # ./spec/spec_helper.rb:22:in `block (2 levels) in <top
(required)>'
81s
81s 2) ReverseMarkdown#config force_encoding option handles invalid
byte sequence if option is set
81s Failure/Error: expect(ReverseMarkdown.convert("hi \255",
force_encoding: true)).to eq "hi\n\n"
81s
81s expected: "hi\n\n"
81s got: "hi "
81s
81s (compared using ==)
81s
81s Diff:
81s @@ -1 +1 @@
81s -hi
81s +hi
81s # ./spec/lib/reverse_markdown_spec.rb:44:in `block (4 levels)
in <top (required)>'
81s # ./spec/spec_helper.rb:22:in `block (2 levels) in <top
(required)>'
81s
81s Finished in 0.30907 seconds (files took 0.44719 seconds to load)
81s 202 examples, 2 failures, 1 pending
81s
81s Failed examples:
81s
81s rspec ./spec/lib/reverse_markdown_spec.rb:38 #
ReverseMarkdown#config force_encoding option raises invalid byte
sequence in UTF-8 exception
81s rspec ./spec/lib/reverse_markdown_spec.rb:43 #
ReverseMarkdown#config force_encoding option handles invalid byte
sequence if option is set
81s
81s Coverage report generated for RSpec to
/tmp/autopkgtest.Ao7Ohr/build.Exe/src/coverage. 0 / 0 LOC (100.0%) covered.
81s Stopped processing SimpleCov as a previous error not related to
SimpleCov has been detected
81s /usr/bin/ruby3.3
-I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib
/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec
--pattern ./spec/\*\*/\*_spec.rb --format documentation failed