ttf2eot: add test

This commit is contained in:
Dominyk Tiller 2016-08-28 20:34:44 +01:00
parent 1dde2e0f6a
commit cdee55d119
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

@ -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