go@1.6: use assert_predicate
This commit is contained in:
parent
a0404bbc81
commit
4cf264c12a
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class GoAT16 < Formula
|
|||
|
||||
if build.with? "godoc"
|
||||
assert_predicate libexec/"bin/godoc", :exist?
|
||||
assert File.executable?(libexec/"bin/godoc")
|
||||
assert_predicate libexec/"bin/godoc", :executable?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue