go@1.6: use assert_predicate instead of File.exist?
This commit is contained in:
parent
62716d0578
commit
9c8951197a
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class GoAT16 < 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