gmt@4: use assert_predicate instead of File.exist?
This commit is contained in:
parent
5119a2fff8
commit
4f8ff856cd
1 changed files with 1 additions and 1 deletions
|
@ -40,6 +40,6 @@ class GmtAT4 < Formula
|
|||
|
||||
test do
|
||||
system "#{bin}/gmt pscoast -R-90/-70/0/20 -JM6i -P -Ba5 -Gchocolate > test.ps"
|
||||
assert File.exist?("test.ps")
|
||||
assert_predicate testpath/"test.ps", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue