From f86a802b958ab78e3da40a4cc4c47e9623af31fd Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Fri, 6 Oct 2017 02:39:17 -0700 Subject: [PATCH] gpsbabel: use assert_predicate instead of File.exist? --- Formula/gpsbabel.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/gpsbabel.rb b/Formula/gpsbabel.rb index 9c66aabecb..607ea925f9 100644 --- a/Formula/gpsbabel.rb +++ b/Formula/gpsbabel.rb @@ -41,6 +41,6 @@ class Gpsbabel < Formula EOS system bin/"gpsbabel", "-i", "geo", "-f", "test.loc", "-o", "gpx", "-F", "test.gpx" - assert File.exist? "test.gpx" + assert_predicate testpath/"test.gpx", :exist? end end