diff options
| -rw-r--r-- | Library/Formula/multimarkdown.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/multimarkdown.rb b/Library/Formula/multimarkdown.rb index 9b51da925..fc9bb23eb 100644 --- a/Library/Formula/multimarkdown.rb +++ b/Library/Formula/multimarkdown.rb @@ -20,4 +20,12 @@ class Multimarkdown < Formula #{opt_prefix}/Support EOS end + + test do + IO.popen(bin/"mmd", "w+") do |pipe| + pipe.write "foo *bar*\n" + pipe.close_write + assert_equal "<p>foo <em>bar</em></p>\n", pipe.read + end + end end |
