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

Cannot parse mix of simple array and explicit array. #45

Closed
saml opened this issue Sep 29, 2014 · 0 comments
Closed

Cannot parse mix of simple array and explicit array. #45

saml opened this issue Sep 29, 2014 · 0 comments
Labels

Comments

@saml
Copy link

saml commented Sep 29, 2014

The following testcase would fail:

    it('parses mix of simple and explicit array', function (done) {

        expect(Qs.parse('a=b&a[]=b')).to.deep.equal({ a: ['b', 'b'] });
        expect(Qs.parse('a[]=b&a=b')).to.deep.equal({ a: ['b', 'b'] });
        done();
    });

Not sure if above is valid testcase to be honest.

@saml saml changed the title cannot parse mix of simple array and explicit array Cannot parse mix of simple array and explicit array. Sep 29, 2014
@nlf nlf added the bug label Oct 6, 2014
@nlf nlf closed this as completed in 9c69ef4 Oct 22, 2014
geek added a commit that referenced this issue Oct 22, 2014
refactor utils.merge, fixes #45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants