voro++: use assert_predicate instead of File.exist?
This commit is contained in:
parent
e257204f59
commit
b79bc18a8e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue