bchunk: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 03:00:26 -07:00
parent fb77ffa93e
commit 551f92b37c

View file

@ -29,6 +29,6 @@ class Bchunk < Formula
touch testpath/"foo.bin"
system "#{bin}/bchunk", "foo.bin", "foo.cue", "foo"
assert File.exist? testpath/"foo01.iso"
assert_predicate testpath/"foo01.iso", :exist?
end
end