From 4cf264c12a660fa46686e6102d482f4a6d4d7a6b Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Mon, 9 Oct 2017 09:23:52 -0700 Subject: [PATCH] go@1.6: use assert_predicate --- Formula/go@1.6.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/go@1.6.rb b/Formula/go@1.6.rb index c4bcee7b30..0066661b0d 100644 --- a/Formula/go@1.6.rb +++ b/Formula/go@1.6.rb @@ -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