gnuplot: use assert_predicate

This commit is contained in:
ilovezfs 2017-10-09 08:07:55 -07:00
parent 51f1df7362
commit 0c693b82c1

View file

@ -114,6 +114,6 @@ class Gnuplot < Formula
set output "#{testpath}/graph.txt";
plot sin(x);
EOS
File.exist? testpath/"graph.txt"
assert_predicate testpath/"graph.txt", :exist?
end
end