Google

# File test/unit/assertions.rb, line 280

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

                                _wrap_assertion {

                                        assert_instance_of(Regexp, regexp, "The first argument to assert_does_not_match should be a Regexp.")

                                        full_message = build_message(message, regexp.source, string) {

                                                | arg1, arg2 |

                                                "</#{arg1}/> expected to not match\n" +

                                                " <#{arg2}>"

                                        }

                                        assert_block(full_message) {

                                                regexp !~ string

                                        }

                                }

                        end