aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-02-01 23:12:44 -0600
committerJack Nagel2013-02-01 23:38:53 -0600
commit77a19fb36b8e3460a268f1e114ffc7ed70349d77 (patch)
treedcf4f19165759725ceabe9128f889d118392422d /Library/Formula
parent4ddbf4ef6e32453edbc7c92d4bd60aea8c8bb978 (diff)
downloadhomebrew-77a19fb36b8e3460a268f1e114ffc7ed70349d77.tar.bz2
mathgl: use test DSL
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mathgl.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/mathgl.rb b/Library/Formula/mathgl.rb
index 625d23977..e670d5a3c 100644
--- a/Library/Formula/mathgl.rb
+++ b/Library/Formula/mathgl.rb
@@ -50,9 +50,7 @@ class Mathgl < Formula
end
end
- def test
- mktemp do
- system "#{bin}/mgl_example"
- end
+ test do
+ system "#{bin}/mgl_example"
end
end