test icon indicating copy to clipboard operation
test copied to clipboard

'$' not escaped when printing a multi-line string

Open skybrian opened this issue 10 years ago • 0 comments

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'

skybrian avatar Aug 19 '15 01:08 skybrian