go@1.6: use assert_predicate

This commit is contained in:
ilovezfs 2017-10-09 09:23:52 -07:00
parent a0404bbc81
commit 4cf264c12a

View file

@ -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