gl2ps: fix rubocop warning.

This commit is contained in:
Mike McQuaid 2017-10-27 09:33:03 +01:00
parent 4cf193d560
commit e5b64d608d

View file

@ -58,6 +58,7 @@ class Gl2ps < Formula
EOS
system ENV.cc, "-L#{lib}", "-lgl2ps", "-framework", "OpenGL", "-framework", "GLUT", "-framework", "Cocoa", "test.c", "-o", "test"
system "./test"
assert_predicate testpath/"test.eps", :exist? && File.size("test.eps") > 0
assert_predicate testpath/"test.eps", :exist?
assert_predicate File.size("test.eps"), :positive?
end
end