From af366a5232772d513ad84a7550c5be347c744326 Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Fri, 6 Oct 2017 02:47:48 -0700 Subject: [PATCH] dependency-check: use assert_predicate instead of File.exist? --- Formula/dependency-check.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/dependency-check.rb b/Formula/dependency-check.rb index 955d325357..9f2eede7d1 100644 --- a/Formula/dependency-check.rb +++ b/Formula/dependency-check.rb @@ -37,6 +37,6 @@ class DependencyCheck < Formula EOS system bin/"dependency-check", "-P", "temp-props.properties", "-f", "XML", "--project", "dc", "-s", libexec, "-d", testpath, "-o", testpath - assert File.exist?(testpath/"dependency-check-report.xml") + assert_predicate testpath/"dependency-check-report.xml", :exist? end end