tinysvm: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:39:20 -07:00
parent caf4bf40d5
commit 066c260ffe

View file

@ -53,6 +53,6 @@ class Tinysvm < Formula
system "#{bin}/svm_classify", "-V", "train.svmdata", "test"
system "#{bin}/svm_model", "test"
assert File.exist? "test"
assert_predicate testpath/"test", :exist?
end
end