Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
skybrian opened this issue Aug 19, 2015 · 0 comments
Open

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

skybrian opened this issue Aug 19, 2015 · 0 comments
Labels
package:matcher type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@skybrian
Copy link

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'

@nex3 nex3 added the type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) label Jun 7, 2017
@mosuem mosuem transferred this issue from dart-archive/matcher Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package:matcher type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

3 participants