shorten: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:39:19 -07:00
parent 310f43eb78
commit 8eba4a8dab

View file

@ -23,6 +23,6 @@ class Shorten < Formula
test do
system "#{bin}/shorten", test_fixtures("test.wav"), "test"
assert File.exist? "test"
assert_predicate testpath/"test", :exist?
end
end