Skip to content

Commit

Permalink
spec/i18n_tasks_spec.rb: Fix clean_coverage_logging
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Dec 22, 2020
1 parent 2f44e17 commit 7158435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/i18n_tasks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
s.sub(%r{^warning: parser/cur.*?https://github.com/whitequark/parser#compatibility-with-ruby-mri\.\n}m, '')
.gsub(/^.*warning: constant ::(?:Fixnum|Bignum) is deprecated\n/, '')
end
clean_coverage_logging = ->(s) { s.sub(/(?:\n^|\A)(?:Coverage = |.*Reporting coverage).*(?:$\n|\z)/i, '') }
clean_coverage_logging = ->(s) { s.sub(/(?:\n^|\A)(?:Coverage = |.*Reporting coverage|JSON Coverage report).*(?:$\n|\z)/i, '') }
[
proc do
out, err, status = run.call('bundle exec ../../bin/i18n-tasks')
Expand Down

0 comments on commit 7158435

Please sign in to comment.