aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/msitools.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/msitools.rb')
-rw-r--r--Library/Formula/msitools.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Formula/msitools.rb b/Library/Formula/msitools.rb
index b9afc9973..b090a2a08 100644
--- a/Library/Formula/msitools.rb
+++ b/Library/Formula/msitools.rb
@@ -24,10 +24,7 @@ class Msitools < Formula
test do
# wixl-heat: make an xml fragment
- IO.popen("#{bin}/wixl-heat --prefix test", "w+") do |pipe|
- pipe.close_write
- assert pipe.read.include?("<Fragment>")
- end
+ assert pipe_output("#{bin}/wixl-heat --prefix test").include?("<Fragment>")
# wixl: build two installers
1.upto(2) do |i|