From 623618bd33768cbbe0ff36d119db87d828c10e4e Mon Sep 17 00:00:00 2001 From: Utkarsh Tripathi Date: Mon, 22 Jan 2018 15:42:42 +0530 Subject: [PATCH] dropbear: fix test (#23066) --- Formula/dropbear.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Formula/dropbear.rb b/Formula/dropbear.rb index dd7ddf12e10..768a6ec8ddd 100644 --- a/Formula/dropbear.rb +++ b/Formula/dropbear.rb @@ -40,6 +40,6 @@ class Dropbear < Formula testfile = testpath/"testec521" system "#{bin}/dbclient", "-h" system "#{bin}/dropbearkey", "-t", "ecdsa", "-f", testfile, "-s", "521" - assert testfile.exist? + assert_predicate testfile, :exist? end end