diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/texinfo.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/texinfo.rb b/Library/Formula/texinfo.rb index d426781f5..24cac7b20 100644 --- a/Library/Formula/texinfo.rb +++ b/Library/Formula/texinfo.rb @@ -31,4 +31,16 @@ class Texinfo < Formula cp "doc/epsf.tex", "#{HOMEBREW_PREFIX}/share/texmf-dist/tex/generic/dvips/" end end + + test do + (testpath/"test.texinfo").write <<-EOS.undent + @ifnottex + @node Top + @top Hello World! + @end ifnottex + @bye + EOS + system "#{bin}/makeinfo", "test.texinfo" + assert_match /Hello World!/, File.read("test.info") + end end |
