diff options
| author | Mike McQuaid | 2015-02-03 08:51:12 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-03 09:32:08 +0000 |
| commit | f20f4d2e1184a56fb1ef08af73f80404395383ee (patch) | |
| tree | 566781ac4f418b5eccd325c2be81242a3c4e9ed8 /Library | |
| parent | 16702bd85e57712a728f191f6f40d3f8c7015327 (diff) | |
| download | homebrew-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.rb | 2 |
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 |
