aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-03-25 13:35:22 -0500
committerJack Nagel2013-03-26 00:02:46 -0500
commit2d903bfbc1de8eba737f9ea8994232efa6698e97 (patch)
tree47527d07d59f6882bdc5d722beab0916d499c014 /Library
parent8f6a863e82310effb3bed0095db524ad720218ad (diff)
downloadhomebrew-2d903bfbc1de8eba737f9ea8994232efa6698e97.tar.bz2
wrk: fix test
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wrk.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/wrk.rb b/Library/Formula/wrk.rb
index d1de3d20f..2f1392fce 100644
--- a/Library/Formula/wrk.rb
+++ b/Library/Formula/wrk.rb
@@ -10,7 +10,7 @@ class Wrk < Formula
bin.install "wrk"
end
- def test
- system "#{bin}/wrk -c 1 -r 1 -t 1 http://www.github.com/"
+ test do
+ system *%W{#{bin}/wrk -c 1 -r 1 -t 1 http://www.github.com/}
end
end