From 6caa712078c8bdea4e978a7356f7304871c2addd Mon Sep 17 00:00:00 2001 From: Hans de Graaff Date: Thu, 26 May 2022 09:16:49 +0200 Subject: [PATCH] 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 --- .../minitest-bonus-assertions-3.0-r1.ebuild | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r1.ebuild b/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r1.ebuild index 1cec455f175eb..82ba961ffe08d 100644 --- a/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r1.ebuild +++ b/dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r1.ebuild @@ -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() {