md: use refute_predicate instead of !File.exist?
This commit is contained in:
parent
fff9cf157b
commit
3c7e219882
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class Md < Formula
|
|||
|
||||
system "#{bin}/md", "-d", "-u", "Makefile", "foo.d"
|
||||
|
||||
assert !File.exist?("foo.d")
|
||||
refute_predicate testpath/"foo.d", :exist?
|
||||
assert_predicate testpath/"Makefile", :exist?
|
||||
assert_equal "# Dependencies for File: foo:\nfoo: foo.cpp\n",
|
||||
File.read("Makefile")
|
||||
|
|
Loading…
Reference in a new issue