aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rust.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/rust.rb')
-rw-r--r--Library/Formula/rust.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/rust.rb b/Library/Formula/rust.rb
index 71c1f62f6..1270c2f12 100644
--- a/Library/Formula/rust.rb
+++ b/Library/Formula/rust.rb
@@ -27,7 +27,7 @@ class Rust < Formula
system "make install"
end
- def test
+ test do
system "#{bin}/rustc"
system "#{bin}/rustdoc -h"
system "#{bin}/rustpkg -v" unless build.head?