aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/go.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb
index ec9a5bff3..7dba09af5 100644
--- a/Library/Formula/go.rb
+++ b/Library/Formula/go.rb
@@ -98,7 +98,7 @@ class Go < Formula
EOS
# Run go vet check for no errors then run the program.
# This is a a bare minimum of go working as it uses vet, build, and run.
- assert_empty `#{bin}/go vet hello.go`
+ system "#{bin}/go", "vet", "hello.go"
assert_equal "Hello World\n", `#{bin}/go run hello.go`
end
end