From b2b3d7cf14a1642f6c5d79539fdd599cf4ea5de7 Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Mon, 29 Dec 2014 15:34:24 +0800 Subject: aspell: add test Closes #35332. Signed-off-by: Mike McQuaid --- Library/Formula/aspell.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/aspell.rb b/Library/Formula/aspell.rb index 6dccfb44c..c859a706c 100644 --- a/Library/Formula/aspell.rb +++ b/Library/Formula/aspell.rb @@ -681,6 +681,11 @@ class Aspell < Formula end end end + + test do + assert_equal shell_output("echo \"misspell worrd\" | #{bin}/aspell list -d en_US").strip, + "worrd" + end end __END__ -- cgit v1.2.3