voro++: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:08:15 -07:00
parent e257204f59
commit b79bc18a8e

View file

@ -33,6 +33,6 @@ class Voroxx < Formula
system ENV.cxx, "test.cpp", "-I#{include}/voro++", "-L#{lib}",
"-lvoro++"
system "./a.out"
assert File.exist?("test.gnu")
assert_predicate testpath/"test.gnu", :exist?
end
end