seattlerb/minitest — pull request #174 by rking (2012-10-16 18:52:41+00:00)
Title: Add assert_no_match

Yes, you can do this:

assert_match /^((?!error).)+$/i, msg

But this is nicer:

assert_no_match /error/i, msg