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:
Hans de Graaff
2022-05-26 09:17:49 +02:00
parent 20d8ce98e2
commit 6caa712078
@@ -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() {