aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2015-02-03 08:51:12 +0000
committerMike McQuaid2015-02-03 09:32:08 +0000
commitf20f4d2e1184a56fb1ef08af73f80404395383ee (patch)
tree566781ac4f418b5eccd325c2be81242a3c4e9ed8 /Library
parent16702bd85e57712a728f191f6f40d3f8c7015327 (diff)
downloadhomebrew-f20f4d2e1184a56fb1ef08af73f80404395383ee.tar.bz2
bibtex2html: fix test on 10.8.
assert_not_match is not available there. Closes #36492. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/bibtex2html.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/bibtex2html.rb b/Library/Formula/bibtex2html.rb
index 240652564..9c7214508 100644
--- a/Library/Formula/bibtex2html.rb
+++ b/Library/Formula/bibtex2html.rb
@@ -37,7 +37,7 @@ class Bibtex2html < Formula
}
EOS
system "#{bin}/bib2bib", "test.bib", "--remove", "pages", "-ob", "out.bib"
- assert_not_match /pages\s*=\s*{3--4}/, File.read("out.bib")
+ assert /pages\s*=\s*{3--4}/ !~ File.read("out.bib")
assert_match /pages\s*=\s*{3--4}/, File.read("test.bib")
end
end