aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-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