abcm2ps: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:08:00 -07:00
parent 897dfdb83d
commit 1cb63a565f

View file

@ -42,6 +42,6 @@ class Abcm2ps < Formula
EOF
system "#{bin}/abcm2ps", testpath/"voices"
assert File.exist?("Out.ps")
assert_predicate testpath/"Out.ps", :exist?
end
end