ttf2eot: use assert_predicate instead of File.exist?
This commit is contained in:
parent
cf5e50c5c3
commit
55319a7733
1 changed files with 1 additions and 1 deletions
|
@ -21,6 +21,6 @@ class Ttf2eot < Formula
|
|||
test do
|
||||
cp "/Library/Fonts/Arial.ttf", testpath
|
||||
system("#{bin}/ttf2eot < Arial.ttf > Arial.eot")
|
||||
assert File.exist?("Arial.eot")
|
||||
assert_predicate testpath/"Arial.eot", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue