Remove exist? check for brew-cask-tests.rb.

This commit is contained in:
Markus Reiter 2016-08-26 11:46:32 +02:00
parent 00bb1f2767
commit a11f536280

View File

@ -657,8 +657,7 @@ module Homebrew
test "brew", "tests", "--generic", *tests_args
test "brew", "tests", "--no-compat", *tests_args_no_compat
test "brew", "readall", "--syntax"
if OS.mac? &&
(HOMEBREW_REPOSITORY/"Library/Homebrew/cask/cmd/brew-cask-tests.rb").exist?
if OS.mac?
run_as_not_developer { test "brew", "tap", "caskroom/cask" }
test "brew", "cask-tests"
end