mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
[rubygems/rubygems] Fix language quality spec no longer getting run properly
c65e34a904
This commit is contained in:
parent
bfd0c15ffa
commit
416fde11eb
2 changed files with 1 additions and 3 deletions
|
@ -115,10 +115,8 @@ RSpec.describe "The library itself" do
|
|||
end
|
||||
|
||||
it "maintains language quality of the documentation" do
|
||||
included = /ronn/
|
||||
error_messages = []
|
||||
man_tracked_files.each do |filename|
|
||||
next unless filename&.match?(included)
|
||||
error_messages << check_for_expendable_words(filename)
|
||||
error_messages << check_for_specific_pronouns(filename)
|
||||
end
|
||||
|
|
|
@ -342,7 +342,7 @@ module Spec
|
|||
end
|
||||
|
||||
def man_tracked_files_glob
|
||||
"lib/bundler/man/bundle*.1 lib/bundler/man/gemfile*.5"
|
||||
"lib/bundler/man/bundle*.1.ronn lib/bundler/man/gemfile*.5.ronn"
|
||||
end
|
||||
|
||||
def ruby_core_tarball?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue