aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/plotutils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/plotutils.rb')
-rw-r--r--Library/Formula/plotutils.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/plotutils.rb b/Library/Formula/plotutils.rb
index 6b443c1d0..9834b52b9 100644
--- a/Library/Formula/plotutils.rb
+++ b/Library/Formula/plotutils.rb
@@ -22,4 +22,8 @@ class Plotutils < Formula
system "make"
system "make", "install"
end
+
+ test do
+ assert pipe_output("#{bin}/graph -T ps", "0.0 0.0\n1.0 0.2\n").start_with?("")
+ end
end