diff options
| author | Markus Reiter | 2017-02-09 04:06:56 +0100 |
|---|---|---|
| committer | Markus Reiter | 2017-02-10 17:19:19 +0100 |
| commit | 6154182b13642de41125403d3be9959814d0afc3 (patch) | |
| tree | 84e8bf6d8e57158fc05edc0c67db6a899728e208 /Library | |
| parent | b0dc2da97be49968350dfbe39858ca9e1ef06e29 (diff) | |
| download | brew-6154182b13642de41125403d3be9959814d0afc3.tar.bz2 | |
Remove syntax test.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/test/syntax_test.rb | 17 |
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 |
