cheat sheets.

$ cheat assert_no_match
# 'cheat assertions' for the rest

assert_no_match(regexp, string, message="")

Passes if regexp !~ string

Example:

  assert_no_match(/two/, 'one 2 three')
Version 1, updated 419 days ago.
. o 0 ( edit | history )
( add new | see all )