Skip to content

Commit

Permalink
mesos: use assert_predicate instead of File.exist?
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovezfs committed Oct 6, 2017
1 parent 3fdcbb8 commit 4ec91ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/mesos.rb
Expand Up @@ -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.