Skip to content

Tests not working against ruby 3.2 #48

Description

@Segaja

I get the following errors when trying to rebuild this package against ruby 3.2 with latest dependencies:

Resolving dependencies...
/usr/bin/ruby -w -I"lib:lib:test" /usr/lib/ruby/gems/3.2.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/test_conversions.rb" "test/test_pandoc_ruby.rb"
Run options: --seed 57382

# Running:

..................................................................................................................S.................................F....F.............F..............................................F

Finished in 79.661215s, 2.6989 runs/s, 4.2806 assertions/s.

  1) Failure:
Conversions#test_0009_converts markdown to man [test/test_conversions.rb:27]:
---------
EXPECTED:
---------
.SH This is a Title
Some \f[I]emphasized text\f[R] and \c
.UR http://daringfireball.net/projects/markdown/
a link
.UE \c
---------
-------
ACTUAL:
-------
.SH This is a Title
Some \f[I]emphasized text\f[R] and a
link (http://daringfireball.net/projects/markdown/)
-------
.
--- expected
+++ actual
@@ -1,5 +1,3 @@
 ".SH This is a Title
-Some \\f[I]emphasized text\\f[R] and \\c
-.UR http://daringfireball.net/projects/markdown/
-a link
-.UE \\c"
+Some \\f[I]emphasized text\\f[R] and a
+link (http://daringfireball.net/projects/markdown/)"


  2) Failure:
Conversions#test_0049_converts rst to man [test/test_conversions.rb:27]:
---------
EXPECTED:
---------
.SH This is a Title
Some \f[I]emphasized text\f[R] and \c
.UR http://daringfireball.net/projects/markdown/
a link
.UE \c
---------
-------
ACTUAL:
-------
.SH This is a Title
Some \f[I]emphasized text\f[R] and a
link (http://daringfireball.net/projects/markdown/)
-------
.
--- expected
+++ actual
@@ -1,5 +1,3 @@
 ".SH This is a Title
-Some \\f[I]emphasized text\\f[R] and \\c
-.UR http://daringfireball.net/projects/markdown/
-a link
-.UE \\c"
+Some \\f[I]emphasized text\\f[R] and a
+link (http://daringfireball.net/projects/markdown/)"


  3) Failure:
Conversions#test_0029_converts html to man [test/test_conversions.rb:27]:
---------
EXPECTED:
---------
.SH This is a Title
Some \f[I]emphasized text\f[R] and \c
.UR http://daringfireball.net/projects/markdown/
a link
.UE \c
---------
-------
ACTUAL:
-------
.SH This is a Title
Some \f[I]emphasized text\f[R] and a
link (http://daringfireball.net/projects/markdown/)
-------
.
--- expected
+++ actual
@@ -1,5 +1,3 @@
 ".SH This is a Title
-Some \\f[I]emphasized text\\f[R] and \\c
-.UR http://daringfireball.net/projects/markdown/
-a link
-.UE \\c"
+Some \\f[I]emphasized text\\f[R] and a
+link (http://daringfireball.net/projects/markdown/)"


  4) Failure:
Conversions#test_0069_converts latex to man [test/test_conversions.rb:27]:
---------
EXPECTED:
---------
.SH This is a Title
Some \f[I]emphasized text\f[R] and \c
.UR http://daringfireball.net/projects/markdown/
a link
.UE \c
---------
-------
ACTUAL:
-------
.SH This is a Title
Some \f[I]emphasized text\f[R] and a
link (http://daringfireball.net/projects/markdown/)
-------
.
--- expected
+++ actual
@@ -1,5 +1,3 @@
 ".SH This is a Title
-Some \\f[I]emphasized text\\f[R] and \\c
-.UR http://daringfireball.net/projects/markdown/
-a link
-.UE \\c"
+Some \\f[I]emphasized text\\f[R] and a
+link (http://daringfireball.net/projects/markdown/)"


215 runs, 341 assertions, 4 failures, 0 errors, 1 skips

You have skipped tests. Run with --verbose for details.
rake aborted!
Command failed with status (1): [ruby -w -I"lib:lib:test" /usr/lib/ruby/gems/3.2.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/test_conversions.rb" "test/test_pandoc_ruby.rb" ]

Tasks: TOP => default => test
(See full trace by running task with --trace)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions