meson: use assert_predicate instead of File.exist?
This commit is contained in:
parent
3cb5fc5cad
commit
affdd3eaf9
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class Meson < Formula
|
||||||
|
|
||||||
mkdir testpath/"build" do
|
mkdir testpath/"build" do
|
||||||
system "#{bin}/meson", ".."
|
system "#{bin}/meson", ".."
|
||||||
assert File.exist?(testpath/"build/build.ninja")
|
assert_predicate testpath/"build/build.ninja", :exist?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue