yamcha: use assert_predicate instead of File.exist?
This commit is contained in:
parent
89fcac0531
commit
525adf04bc
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class Yamcha < Formula
|
|||
"CORPUS=train.data", "MODEL=case_study", "train"
|
||||
|
||||
%w[log model se svmdata txtmodel.gz].each do |ext|
|
||||
assert File.exist? testpath/"case_study.#{ext}"
|
||||
assert_predicate testpath/"case_study.#{ext}", :exist?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue