aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/newlisp.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2014-05-04 12:12:41 -0700
committerAdam Vandenberg2014-08-01 07:58:10 -0700
commitff86702dd85eab420f6f58e8dcf8375dae4b22b9 (patch)
treee0071c9d3604ab8d311679aa77ce9cce90da962f /Library/Formula/newlisp.rb
parent1dc876667538fb33ebc9eb30edd3bc9b530592a6 (diff)
downloadhomebrew-ff86702dd85eab420f6f58e8dcf8375dae4b22b9.tar.bz2
use test helpers
Diffstat (limited to 'Library/Formula/newlisp.rb')
-rw-r--r--Library/Formula/newlisp.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/newlisp.rb b/Library/Formula/newlisp.rb
index 829c1941d..1898e8e30 100644
--- a/Library/Formula/newlisp.rb
+++ b/Library/Formula/newlisp.rb
@@ -1,11 +1,11 @@
-require 'formula'
+require "formula"
class Newlisp < Formula
- homepage 'http://www.newlisp.org/'
- url 'http://www.newlisp.org/downloads/newlisp-10.6.0.tgz'
- sha1 '0f5ce581d070ff171cbef504308e578885aa5e72'
+ homepage "http://www.newlisp.org/"
+ url "http://www.newlisp.org/downloads/newlisp-10.6.0.tgz"
+ sha1 "0f5ce581d070ff171cbef504308e578885aa5e72"
- depends_on 'readline'
+ depends_on "readline"
patch :DATA
@@ -32,9 +32,7 @@ class Newlisp < Formula
(exit 0)
EOS
- output = `#{bin}/newlisp #{path}`
- assert_equal "hello\n", output
- assert_equal 0, $?.exitstatus
+ assert_equal "hello\n", shell_output("#{bin}/newlisp #{path}")
end
end