aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Reiter2016-10-24 18:57:57 +0200
committerMarkus Reiter2016-11-16 23:52:37 +0100
commite3be9c068bd2168d3bbf077a55abb15a87eaf5bd (patch)
tree104a1c9462a2da9efcd145146dc2b8bbd62246a1
parent6b6b27126d7ecc1dde9a6bc166a7e1daa3af35d2 (diff)
downloadbrew-e3be9c068bd2168d3bbf077a55abb15a87eaf5bd.tar.bz2
Update `.rubocop_todo.yml`.
-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