diff --git a/Formula/debianutils.rb b/Formula/debianutils.rb index 068e7edcf9..b4f7f3098b 100644 --- a/Formula/debianutils.rb +++ b/Formula/debianutils.rb @@ -26,6 +26,7 @@ class Debianutils < Formula end test do - assert File.exist?(shell_output("#{bin}/tempfile -d #{Dir.pwd}").strip) + output = shell_output("#{bin}/tempfile -d #{Dir.pwd}").strip + assert_predicate Pathname.new(output), :exist? end end