method

assert_match

ruby latest stable - Class: RUNIT::Assert

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

assert_match(actual_string, expected_re, message="")
public

To deal with the fact that RubyUnit does not check that the regular expression is, indeed, a regular expression, if it is not, we do our own assertion using the same semantics as RubyUnit