aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/.rubocop_todo.yml6
-rw-r--r--Library/Homebrew/dev-cmd/audit.rb2
2 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/.rubocop_todo.yml b/Library/Homebrew/.rubocop_todo.yml
index 867a61966..9e48c6792 100644
--- a/Library/Homebrew/.rubocop_todo.yml
+++ b/Library/Homebrew/.rubocop_todo.yml
@@ -21,7 +21,7 @@ Lint/HandleExceptions:
- 'extend/pathname.rb'
- 'formula.rb'
- 'formula_versions.rb'
- - 'test/test_ENV.rb'
+ - 'test/ENV_test.rb'
# Offense count: 3
Lint/IneffectiveAccessModifier:
@@ -51,7 +51,7 @@ Lint/RescueException:
- 'postinstall.rb'
- 'readall.rb'
- 'test.rb'
- - 'test/test_ENV.rb'
+ - 'test/ENV_test.rb'
- 'utils/fork.rb'
# Offense count: 1
@@ -114,7 +114,7 @@ Style/MultilineBlockChain:
- 'dev-cmd/audit.rb'
- 'dev-cmd/man.rb'
- 'diagnostic.rb'
- - 'test/test_patching.rb'
+ - 'test/patching_test.rb'
# Offense count: 4
# Cop supports --auto-correct.
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb
index c7461fc5a..df3b5fafe 100644
--- a/Library/Homebrew/dev-cmd/audit.rb
+++ b/Library/Homebrew/dev-cmd/audit.rb
@@ -761,7 +761,7 @@ class FormulaAuditor
bin_names.each do |name|
["system", "shell_output", "pipe_output"].each do |cmd|
if text =~ /(def test|test do).*#{cmd}[\(\s]+['"]#{Regexp.escape name}[\s'"]/m
- problem %(fully scope test #{cmd} calls e.g. #{cmd} "\#{bin}/#{name}")
+ problem %Q(fully scope test #{cmd} calls e.g. #{cmd} "\#{bin}/#{name}")
end
end
end