znc: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:08:16 -07:00
parent c9a125e031
commit 7968383b22

View file

@ -79,6 +79,6 @@ class Znc < Formula
test do
mkdir ".znc"
system bin/"znc", "--makepem"
assert File.exist?(".znc/znc.pem")
assert_predicate testpath/".znc/znc.pem", :exist?
end
end