aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/plotutils.rb
diff options
context:
space:
mode:
authorXu Cheng2015-01-02 13:47:16 +0800
committerMike McQuaid2015-01-02 09:53:02 +0000
commitf5ea92bcb1fae78f0dd410a7411b19028dba0f10 (patch)
treec510779a62f8d53aa44775132ab740f01c229357 /Library/Formula/plotutils.rb
parent72120ba1d7e7d09ce4c7709df3a1a9ea9684e870 (diff)
downloadhomebrew-f5ea92bcb1fae78f0dd410a7411b19028dba0f10.tar.bz2
plotutils: add test
Closes #35446.
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