aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2013-08-10 22:10:53 -0500
committerJack Nagel2013-08-10 22:10:53 -0500
commitdd0eae4e94bbec61faa5bf3ac5f5082b5862eff6 (patch)
tree25d1beb107c4fa8da0153c3475a142cd150797c8
parenta856447998abfd6f7c1c030d77e5f4bd92b43d07 (diff)
downloadhomebrew-dd0eae4e94bbec61faa5bf3ac5f5082b5862eff6.tar.bz2
go: fix test
-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