tippecanoe: use assert_predicate instead of File.exist?
This commit is contained in:
parent
3c0db9727d
commit
1c1f812bb6
1 changed files with 1 additions and 1 deletions
|
@ -22,6 +22,6 @@ class Tippecanoe < Formula
|
|||
{"type":"Feature","properties":{},"geometry":{"type":"Point","coordinates":[0,0]}}
|
||||
EOS
|
||||
safe_system "#{bin}/tippecanoe", "-o", "test.mbtiles", "test.json"
|
||||
assert File.exist?("#{testpath}/test.mbtiles"), "tippecanoe generated no output!"
|
||||
assert_predicate testpath/"test.mbtiles", :exist?, "tippecanoe generated no output!"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue