mp3wrap: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 03:00:27 -07:00
parent 1e3f176bb3
commit fc5feda951

View file

@ -24,6 +24,6 @@ class Mp3wrap < Formula
test do
source = test_fixtures("test.mp3")
system "#{bin}/mp3wrap", "#{testpath}/t.mp3", source, source
assert File.exist? testpath/"t_MP3WRAP.mp3"
assert_predicate testpath/"t_MP3WRAP.mp3", :exist?
end
end