aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarkus Reiter2017-02-09 04:06:56 +0100
committerMarkus Reiter2017-02-10 17:19:19 +0100
commit6154182b13642de41125403d3be9959814d0afc3 (patch)
tree84e8bf6d8e57158fc05edc0c67db6a899728e208 /Library
parentb0dc2da97be49968350dfbe39858ca9e1ef06e29 (diff)
downloadbrew-6154182b13642de41125403d3be9959814d0afc3.tar.bz2
Remove syntax test.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cask/test/syntax_test.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/Library/Homebrew/cask/test/syntax_test.rb b/Library/Homebrew/cask/test/syntax_test.rb
deleted file mode 100644
index 0ea832bde..000000000
--- a/Library/Homebrew/cask/test/syntax_test.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-require "test_helper"
-
-describe "Syntax check" do
- project_root = Pathname.new(File.expand_path("#{File.dirname(__FILE__)}/../"))
- backend_files = Dir[project_root.join("**", "*.rb")].reject { |f| f.match %r{/vendor/|/Casks/} }
- interpreter = RUBY_PATH
- flags = %w[-c]
- flags.unshift "--disable-all"
- backend_files.each do |file|
- it "#{file} is valid Ruby" do
- args = flags + ["--", file]
- shutup do
- raise SyntaxError, "#{file} failed syntax check" unless system(interpreter, *args)
- end
- end
- end
-end