ttf2eot: add test
This commit is contained in:
parent
1dde2e0f6a
commit
cdee55d119
1 changed files with 6 additions and 0 deletions
|
@ -15,4 +15,10 @@ class Ttf2eot < Formula
|
|||
system "make"
|
||||
bin.install "ttf2eot"
|
||||
end
|
||||
|
||||
test do
|
||||
cp "/Library/Fonts/Arial.ttf", testpath
|
||||
system("#{bin}/ttf2eot < Arial.ttf > Arial.eot")
|
||||
assert File.exist?("Arial.eot")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue