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

fix: better handling of quoted strings #153

Merged
merged 3 commits into from Jan 28, 2019
Merged

fix: better handling of quoted strings #153

merged 3 commits into from Jan 28, 2019

Conversation

bcoe
Copy link
Member

@bcoe bcoe commented Dec 25, 2018

addresses #145 and related issues, by no longer consuming quotes during the string tokenization phase, we now instead cleanup strings post-hoc.

BREAKING CHANGE: quotes at beginning and end of argument values are now removed.

@bcoe bcoe mentioned this pull request Dec 25, 2018
@bcoe
Copy link
Member Author

bcoe commented Dec 25, 2018

CC: @iilei, @tristanMatthias

args2.bar.should.equal('goodnight\'moon')
})

it('handles double quoted strings', function () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/double/single

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

Successfully merging this pull request may close these issues.

None yet

2 participants