diff options
Diffstat (limited to 'dev-ruby/simplecov/files/simplecov-0.22.0-ruby32-gentoo.patch')
| -rw-r--r-- | dev-ruby/simplecov/files/simplecov-0.22.0-ruby32-gentoo.patch | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/dev-ruby/simplecov/files/simplecov-0.22.0-ruby32-gentoo.patch b/dev-ruby/simplecov/files/simplecov-0.22.0-ruby32-gentoo.patch deleted file mode 100644 index 293fbe51d747..000000000000 --- a/dev-ruby/simplecov/files/simplecov-0.22.0-ruby32-gentoo.patch +++ /dev/null @@ -1,19 +0,0 @@ -This test is only activated for >= ruby32 because ruby32 adds support -for assessing coverage within an eval. But the failure isn't anything -to do with eval. - -The test tries to call 'ruby' which in Gentoo isn't (yet!) wrapped, -so it ends up calling an older Ruby which then results in 0 coverage -being found. Replace it with a string we can safely sed with the -correct Ruby per-test. ---- a/spec/coverage_for_eval_spec.rb -+++ b/spec/coverage_for_eval_spec.rb -@@ -16,7 +16,7 @@ RSpec.describe "coverage for eval" do - end - - context "foo" do -- let(:command) { "ruby eval_test.rb" } -+ let(:command) { "@GENTOO_RUBY@ eval_test.rb" } - - it "records coverage for erb" do - expect(@stdout).to include(" 2 / 3 LOC") |
