Potozniak, Andrew wrote: > > I would suggest something along the lines of: > > &like_html(actual_value, expected_regex, max_chars_to_output, > string_description);
In fact I think that making max_chars_to_output a global configuration variable is a better option, because repeating it (if you have lots of tests) will become quickly fastidious.