mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
dev-ruby/minitest-bonus-assertions: avoid broken tests
Two tests are flaky and randomly fail for different people. Closes: https://bugs.gentoo.org/723928 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -22,10 +22,7 @@ ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/minitest-pretty_diff )"
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/\(bisect\|focus\|moar\)/ s:^:#:' test/minitest_config.rb || die
|
||||
|
||||
# assert the right value (as specified in the text of the test)
|
||||
# this probably needs more investigation, but this package is only used
|
||||
# by another package from the same author so we'll go with it
|
||||
sed -i -e '140 s/true/false/' -e '216 s/false/true/' test/test_minitest-bonus-assertions.rb || die
|
||||
sed -i -e '/returns true if the \(keys are missing\|sets are not equal\)/askip "Flaky"' test/test_minitest-bonus-assertions.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
|
||||
Reference in New Issue
Block a user