matcher
matcher copied to clipboard
'$' not escaped when printing a multi-line string
If the equality matcher fails for a string, in the "Actual" section where it prints each line as a single-quoted string, the dollar sign should be escaped.
Here is the output where I saw this: 'const M$json = const {\n'