tinysvm: use assert_predicate instead of File.exist?
This commit is contained in:
parent
caf4bf40d5
commit
066c260ffe
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue