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

Tests not working against ruby 3.2 #48

Open
Segaja opened this issue Jun 17, 2024 · 0 comments
Open

Tests not working against ruby 3.2 #48

Segaja opened this issue Jun 17, 2024 · 0 comments

Comments

@Segaja
Copy link

Segaja commented Jun 17, 2024

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)
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

1 participant