aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/rubocops/lines_cop_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/test/rubocops/lines_cop_spec.rb')
-rw-r--r--Library/Homebrew/test/rubocops/lines_cop_spec.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/Library/Homebrew/test/rubocops/lines_cop_spec.rb b/Library/Homebrew/test/rubocops/lines_cop_spec.rb
index 0d2146339..ee1de059c 100644
--- a/Library/Homebrew/test/rubocops/lines_cop_spec.rb
+++ b/Library/Homebrew/test/rubocops/lines_cop_spec.rb
@@ -717,19 +717,6 @@ describe RuboCop::Cop::FormulaAudit::Miscellaneous do
RUBY
end
- it "deprecated ENV.fortran usage" do
- expect_offense(<<~RUBY)
- class Foo < Formula
- desc "foo"
- url 'http://example.com/foo-1.0.tgz'
- test do
- ENV.fortran
- ^^^^^^^^^^^ Use `depends_on :fortran` instead of `ENV.fortran`
- end
- end
- RUBY
- end
-
it "deprecated ARGV.include? (--HEAD) usage" do
expect_offense(<<~RUBY)
class Foo < Formula