aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorXu Cheng2014-12-29 15:34:24 +0800
committerMike McQuaid2014-12-29 07:57:07 +0000
commitb2b3d7cf14a1642f6c5d79539fdd599cf4ea5de7 (patch)
tree491438b0a6d9b5251c7e25e20647ffb837b066b7 /Library/Formula
parent81e2ce81bb2e9ffe53f382e667fd73920e5ffc1f (diff)
downloadhomebrew-b2b3d7cf14a1642f6c5d79539fdd599cf4ea5de7.tar.bz2
aspell: add test
Closes #35332. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/aspell.rb5
1 files changed, 5 insertions, 0 deletions
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__