Replies: 1 comment
-
|
@gyx47 please try with ruby-slim 5.2.1-3 which removed ruby-pandoc-ruby from the test environment and instead ruby-kramdown is used which produces the expected output. Which would make this a packaging issue rather than issue with slim-template. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
There is a problem with the test code of the ruby-slim-5.2.1-2 package. The package build failed under both the riscv64 and x86-64 architectures. According to the log output, the /core/test_embedded_engines test file reported an error when entering the test phase.
ruby-slim-5.2.1-2-riscv64-check.log
ruby-slim-5.2.1-2-x86_64-check.log
My operating environment is an x86-64 environment virtual machine and a riscv64 chroot environment of the arch architecture of Windows WSL.
The process is as follows:
MT_COMPAT="true" GEM_HOME="tmp_install/${_gemdir}" rake test3.wait for it and found the error
Patch
I modified the test file. Here are my ideas for modification:
This is the relevant code for the error in the test of /test/core/test_embedded_engines.rb
After debugging, I found that
This test example has a formatting problem. The header is followed by #, which the md document cannot recognize, so the conversion to the html document is also wrong. The actual and expected values of the <li> list are only one space indented, which has no effect on the html conversion. Maybe this test file can be looser, or the indentation can be manually added in the function implementation document.
I change the test file
The previous error was solved, but another error was followed
and the code is
I think the function to make the auto_ids: false ,may have some problems that need further Improvements.
Do you think this is a good career change? If you think it is, I will open a PR.
Beta Was this translation helpful? Give feedback.
All reactions