From f5ea92bcb1fae78f0dd410a7411b19028dba0f10 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Fri, 2 Jan 2015 13:47:16 +0800 Subject: plotutils: add test Closes #35446. --- Library/Formula/plotutils.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Library/Formula/plotutils.rb') 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 -- cgit v1.2.3