assert_no_match(regexp, string, message="") public

Passes if regexp !~ string

Example:

  assert_no_match(/two/, 'one 2 three')
Show source
Register or log in to add new notes.