From a44b8d2674d16fdecd9c6504d2be661a6a09c59a Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Fri, 6 Oct 2017 02:08:14 -0700 Subject: [PATCH] trace2html: use assert_predicate instead of File.exist? --- Formula/trace2html.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/trace2html.rb b/Formula/trace2html.rb index 34d598f6db..393dc52afc 100644 --- a/Formula/trace2html.rb +++ b/Formula/trace2html.rb @@ -17,6 +17,6 @@ class Trace2html < Formula test do touch "test.json" system "#{bin}/trace2html", "test.json" - assert File.exist?("test.html") + assert_predicate testpath/"test.html", :exist? end end