Skip to content

Commit

Permalink
test to ensure trailing ints are fine
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jul 19, 2011
1 parent f1159eb commit 18d8140
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/parse.test.js
Expand Up @@ -121,6 +121,7 @@ module.exports = {

'test arrays with indexes': function(){
qs.parse('foo[0]=bar&foo[1]=baz').should.eql({ foo: ["bar","baz"] });
qs.parse('foo[base64]=RAWR').should.eql({ foo: { base64: 'RAWR' }});
},

'test arrays becoming objects': function(){
Expand Down

0 comments on commit 18d8140

Please sign in to comment.