From 1913afc95acc5aa4e226109169735102dcd8d8d2 Mon Sep 17 00:00:00 2001 From: "Tim D. Smith" Date: Mon, 2 Mar 2015 21:12:30 -0800 Subject: [PATCH] nu: add test Closes Homebrew/homebrew#37344. Signed-off-by: Tim D. Smith --- Formula/nu.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Formula/nu.rb b/Formula/nu.rb index 000ec05758..11f0a3e993 100644 --- a/Formula/nu.rb +++ b/Formula/nu.rb @@ -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