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

Whitespaces and tabs after last quote and newline are not stripped #71

Open
Virtual-X opened this issue May 12, 2022 · 0 comments
Open

Comments

@Virtual-X
Copy link

This is an example that fails (neither the tab not the last space are stripped):

source: "{"foo": "bar"\t} ",
assert: "{"foo":"bar"}"

All tests in the suite end with \n, thus avoiding the problem, but I suppose that json without newlines are also intended to be supported?

I have tested javascript only, I don't know how other ports are behaving in this situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant