Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (7 sloc) 201 Bytes
---
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')