mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
dev-ruby/slim: fix tests
Closes: https://bugs.gentoo.org/816573 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -36,6 +36,9 @@ all_ruby_prepare() {
|
||||
# This sinatra code expects tests to be installed but we strip those.
|
||||
sed -i -e "s/require 'sinatra'/require 'bogussinatra'/" Rakefile || die
|
||||
|
||||
# Add missing include, bug 816573
|
||||
sed -i -e "1irequire 'ostruct'" test/core/test_code_evaluation.rb || die
|
||||
|
||||
# Avoid tests for things we don't have. The builder test does not pass with tilt 2.x
|
||||
sed -i -e '/test_wip_render_with_asciidoc/,/^ end/ s:^:#:' \
|
||||
-e '/test_render_with_wiki/,/^ end/ s:^:#:' \
|
||||
|
||||
Reference in New Issue
Block a user