aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-06-08 21:26:25 -0500
committerJack Nagel2013-06-08 21:32:29 -0500
commit5e34f90aa99fb148e1eb17b6f7e7f0ecf494fdcb (patch)
tree21e59bcee9ef6626874e179ae2e6ca480610298d /Library
parent8e3798160cf55703da966544ace8330a0595749a (diff)
downloadhomebrew-5e34f90aa99fb148e1eb17b6f7e7f0ecf494fdcb.tar.bz2
sendemail: use test assertion
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/sendemail.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/sendemail.rb b/Library/Formula/sendemail.rb
index f69480942..48e5d482e 100644
--- a/Library/Formula/sendemail.rb
+++ b/Library/Formula/sendemail.rb
@@ -10,6 +10,6 @@ class Sendemail < Formula
end
test do
- `#{bin}/sendemail`.strip =~ /sendemail-#{Regexp.escape(version)}/
+ assert_match /sendemail-#{Regexp.escape(version)}/, `#{bin}/sendemail`.strip
end
end