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

reading-quoted-or-escaped doesn't check for leading spaces (as opposed to reading-quoted) #40

Open
Yehouda opened this issue May 26, 2020 · 0 comments

Comments

@Yehouda
Copy link

Yehouda commented May 26, 2020

The function reading-quoted-or-escaped, which was added by:
2101afa

Doesn't check if there are characters before the quote like reading-quoted does. That causes the test data-with-whitespace-trim to not get an error when it expects it, in the "whitespace before quoted values is a parse error if we are
not trimming " case.

As it is now it look to me like reading-quoted-or-escaped is doing the wrong thing, because the pre-quote space ends up in the quoted string.

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