diff options
| author | Adam Vandenberg | 2014-05-04 12:12:41 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2014-08-01 07:58:10 -0700 |
| commit | ff86702dd85eab420f6f58e8dcf8375dae4b22b9 (patch) | |
| tree | e0071c9d3604ab8d311679aa77ce9cce90da962f /Library/Formula/multimarkdown.rb | |
| parent | 1dc876667538fb33ebc9eb30edd3bc9b530592a6 (diff) | |
| download | homebrew-ff86702dd85eab420f6f58e8dcf8375dae4b22b9.tar.bz2 | |
use test helpers
Diffstat (limited to 'Library/Formula/multimarkdown.rb')
| -rw-r--r-- | Library/Formula/multimarkdown.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Formula/multimarkdown.rb b/Library/Formula/multimarkdown.rb index fc9bb23eb..0fc5da1a3 100644 --- a/Library/Formula/multimarkdown.rb +++ b/Library/Formula/multimarkdown.rb @@ -22,10 +22,6 @@ class Multimarkdown < Formula 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 + assert_equal "<p>foo <em>bar</em></p>\n", pipe_output(bin/"mmd", "foo *bar*\n") end end |
