aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/newlisp.rb
diff options
context:
space:
mode:
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