From 3ec7a2856ff3e2bd6037ecbead0f9bd575062fae Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Fri, 6 Oct 2017 02:08:08 -0700 Subject: [PATCH] little-cms2: use assert_predicate instead of File.exist? --- Formula/little-cms2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/little-cms2.rb b/Formula/little-cms2.rb index ff717ec248..a88ff6093f 100644 --- a/Formula/little-cms2.rb +++ b/Formula/little-cms2.rb @@ -27,6 +27,6 @@ class LittleCms2 < Formula test do system "#{bin}/jpgicc", test_fixtures("test.jpg"), "out.jpg" - assert File.exist?("out.jpg") + assert_predicate testpath/"out.jpg", :exist? end end