meson: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 03:12:36 -07:00
parent 3cb5fc5cad
commit affdd3eaf9

View file

@ -38,7 +38,7 @@ class Meson < Formula
mkdir testpath/"build" do
system "#{bin}/meson", ".."
assert File.exist?(testpath/"build/build.ninja")
assert_predicate testpath/"build/build.ninja", :exist?
end
end
end