From dd0eae4e94bbec61faa5bf3ac5f5082b5862eff6 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 10 Aug 2013 22:10:53 -0500 Subject: go: fix test --- Library/Formula/go.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3