Skip to content

Commit

Permalink
Merge pull request #1855 from rubocop/fix-flaky
Browse files Browse the repository at this point in the history
Fix a flaky test for spec/project/default_config_spec.rb
  • Loading branch information
ydah authored Mar 31, 2024
2 parents 3af675d + 0bffed9 commit 954b29e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/project/default_config_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def cop_configuration(config_key)
"`#{cop_name}` cop should be set `Safe: false` or " \
'`SafeAutoCorrect: false` because `@safety` YARD tag exists.'
)
YARD::Registry.clear
end
end
end

0 comments on commit 954b29e

Please sign in to comment.