aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/markdown.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/markdown.rb')
-rw-r--r--Library/Formula/markdown.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Formula/markdown.rb b/Library/Formula/markdown.rb
index 032eefcfc..3f9c1aee5 100644
--- a/Library/Formula/markdown.rb
+++ b/Library/Formula/markdown.rb
@@ -13,10 +13,6 @@ class Markdown < Formula
end
test do
- IO.popen("#{bin}/markdown", "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}/markdown", "foo *bar*\n")
end
end