fribidi: add test

This commit is contained in:
Dominyk Tiller 2015-08-10 00:23:57 +01:00
parent 964a2010c0
commit c4a255771f

View file

@ -19,4 +19,12 @@ class Fribidi < Formula
"--prefix=#{prefix}"
system "make", "install"
end
test do
(testpath/"test.input").write <<-EOS.undent
a _lsimple _RteST_o th_oat
EOS
assert_match /a simple TSet that/, shell_output("#{bin}/fribidi --charset=CapRTL --test test.input")
end
end