method

assert_match

assert_match(exp, act, msg = nil)
public

Fails unless exp is =~ act.