go@1.5: use assert_predicate instead of File.exist?
This commit is contained in:
parent
e5be02a49f
commit
62716d0578
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class GoAT15 < Formula
|
|||
assert_equal "Hello World\n", shell_output("#{bin}/go run hello.go")
|
||||
|
||||
if build.with? "godoc"
|
||||
assert File.exist?(libexec/"bin/godoc")
|
||||
assert_predicate libexec/"bin/godoc", :exist?
|
||||
assert File.executable?(libexec/"bin/godoc")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue