aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-03-25 13:35:21 -0500
committerJack Nagel2013-03-26 00:02:43 -0500
commit6f7722b518e96f75f0abdacc74af385d6af4f73b (patch)
tree712b53cc0dfcfe56e6f2cac058e6bda496090af9 /Library/Formula
parentce8c64df9fac99bff5a1f5fb1455aef665643a6a (diff)
downloadhomebrew-6f7722b518e96f75f0abdacc74af385d6af4f73b.tar.bz2
pygtksourceview: fix test
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pygtksourceview.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/pygtksourceview.rb b/Library/Formula/pygtksourceview.rb
index 84906d1a3..5e9dd1a1f 100644
--- a/Library/Formula/pygtksourceview.rb
+++ b/Library/Formula/pygtksourceview.rb
@@ -26,7 +26,7 @@ class Pygtksourceview < Formula
"python" + `python -c 'import sys;print(sys.version[:3])'`.strip
end
- def test
- system "python -c 'import gtksourceview2'"
+ test do
+ system "python", "-c", "import gtksourceview2"
end
end