nu: add test

Closes Homebrew/homebrew#37344.

Signed-off-by: Tim D. Smith <git@tim-smith.us>
This commit is contained in:
Tim D. Smith 2015-03-02 21:12:30 -08:00
parent 964c8f2e55
commit 1913afc95a

View file

@ -1,5 +1,3 @@
require 'formula'
class Nu < Formula
homepage 'http://programming.nu'
url 'https://github.com/timburks/nu/archive/v2.1.1.tar.gz'
@ -58,4 +56,8 @@ EOS
end
return nil
end
test do
system bin/"nush", "-e", '(puts "Everything old is Nu again.")'
end
end