nu: add test
Closes Homebrew/homebrew#37344. Signed-off-by: Tim D. Smith <git@tim-smith.us>
This commit is contained in:
parent
964c8f2e55
commit
1913afc95a
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue