aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike Naberezny2014-02-11 21:19:30 -0800
committerAdam Vandenberg2014-02-11 21:47:36 -0800
commit505936cfa317ae283a0ad1660503ba9ebc74773c (patch)
tree97668cade0464b72ddfbe6e8792fe74b37947f70 /Library/Formula
parentd6bd232dfbfcda410ccd187d2b8984bfcad31c1d (diff)
downloadhomebrew-505936cfa317ae283a0ad1660503ba9ebc74773c.tar.bz2
rdfind: fix test
Closes #26649. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/rdfind.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/rdfind.rb b/Library/Formula/rdfind.rb
index 6b6f64d93..f19b7bf2b 100644
--- a/Library/Formula/rdfind.rb
+++ b/Library/Formula/rdfind.rb
@@ -19,7 +19,7 @@ class Rdfind < Formula
touch 'folder/file1'
touch 'folder/file2'
system "#{bin}/rdfind -deleteduplicates true -ignoreempty false folder"
- File.exist?('folder/file1')==true
- File.exist?('folder/file2')==false
+ assert File.exist?('folder/file1')
+ assert !File.exist?('folder/file2')
end
end