From c4a255771fda157a0e2bc3554486d2e3b592c81a Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Mon, 10 Aug 2015 00:23:57 +0100 Subject: [PATCH] fribidi: add test --- Formula/fribidi.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Formula/fribidi.rb b/Formula/fribidi.rb index 82aa37146b..9144132ae9 100644 --- a/Formula/fribidi.rb +++ b/Formula/fribidi.rb @@ -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