libressl: use assert_predicate
This commit is contained in:
parent
4a5ea3d596
commit
24d5edfe47
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class Libressl < Formula
|
|||
|
||||
test do
|
||||
# Make sure the necessary .cnf file exists, otherwise LibreSSL gets moody.
|
||||
assert (HOMEBREW_PREFIX/"etc/libressl/openssl.cnf").exist?,
|
||||
assert_predicate HOMEBREW_PREFIX/"etc/libressl/openssl.cnf", :exist?,
|
||||
"LibreSSL requires the .cnf file for some functionality"
|
||||
|
||||
# Check LibreSSL itself functions as expected.
|
||||
|
|
Loading…
Reference in a new issue