diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-05-22 10:36:59 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-05-23 07:04:46 +0200 |
commit | 0993f589d09e416ab5d27bc70c66762f81b6d3d4 (patch) | |
tree | e45587037c0fc53e23b0e809978bd2a9569be06a /dev-ruby/thor | |
parent | dev-ruby/forwardable: initial import of 1.3.2 (diff) | |
download | gentoo-0993f589d09e416ab5d27bc70c66762f81b6d3d4.tar.gz gentoo-0993f589d09e416ab5d27bc70c66762f81b6d3d4.tar.bz2 gentoo-0993f589d09e416ab5d27bc70c66762f81b6d3d4.zip |
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@gentoo.org>
Diffstat (limited to 'dev-ruby/thor')
-rw-r--r-- | dev-ruby/thor/thor-1.2.1.ebuild | 3 |
1 files changed, 3 insertions, 0 deletions
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() { |