gl2ps: fix rubocop warning.
This commit is contained in:
parent
4cf193d560
commit
e5b64d608d
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue