Permalink
Browse files

mesos: use assert_predicate instead of File.exist?

  • Loading branch information...
ilovezfs committed Oct 6, 2017
1 parent 3fdcbb8 commit 4ec91ba5e78aff37a03edb52ee71d72793a90c51
Showing with 1 addition and 1 deletion.
  1. +1 −1 Formula/mesos.rb
View
@@ -197,7 +197,7 @@ def install
end
Process.kill("TERM", master)
Process.kill("TERM", agent)
assert File.exist?("#{testpath}/executed")
assert_predicate testpath/"executed", :exist?
system "python", "-c", "import mesos.native"
end
end

0 comments on commit 4ec91ba

Please sign in to comment.