commit: 0993f589d09e416ab5d27bc70c66762f81b6d3d4 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun May 22 08:36:59 2022 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Mon May 23 05:04:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0993f589
dev-ruby/thor: avoid failing test This unit test is really an integration test and it fails on external changes that are not relevant for the test. Closes: https://bugs.gentoo.org/844889 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/thor/thor-1.2.1.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-ruby/thor/thor-1.2.1.ebuild b/dev-ruby/thor/thor-1.2.1.ebuild index f9f2ad391d8f..c1335062ee3a 100644 --- a/dev-ruby/thor/thor-1.2.1.ebuild +++ b/dev-ruby/thor/thor-1.2.1.ebuild @@ -53,6 +53,9 @@ all_ruby_prepare() { # Avoid currently broken readline specs (already fixed upstream) #rm -f spec/line_editor/readline_spec.rb spec/line_editor_spec.rb || die + + # Avoid spec failing on whitespace difference in error message + sed -i -e '/raises an error for unknown switches/askip "whitespace differences"' spec/parser/options_spec.rb || die } each_ruby_test() {
