summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2022-05-26 09:16:49 +0200
committerHans de Graaff <graaff@gentoo.org>2022-05-26 09:17:49 +0200
commit6caa712078c8bdea4e978a7356f7304871c2addd (patch)
tree903280b1f0eba4e024c6dfb88dbdf3b6c216bcda /dev-ruby/minitest-bonus-assertions
parentdev-util/cmake: sparc stable wrt bug #847484 (diff)
downloadgentoo-6caa712078c8bdea4e978a7356f7304871c2addd.tar.gz
gentoo-6caa712078c8bdea4e978a7356f7304871c2addd.tar.bz2
gentoo-6caa712078c8bdea4e978a7356f7304871c2addd.zip
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>
Diffstat (limited to 'dev-ruby/minitest-bonus-assertions')
-rw-r--r--dev-ruby/minitest-bonus-assertions/minitest-bonus-assertions-3.0-r1.ebuild5
1 files changed, 1 insertions, 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 1cec455f175e..82ba961ffe08 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() {