Permalink
Browse files

add failing encoded = test

  • Loading branch information...
tj committed Sep 18, 2012
1 parent b21c417 commit 6ba94ee554d0879030a453d35cd287d3e3c083f8
Showing with 5 additions and 0 deletions.
  1. +5 −0 test/parse.js
View
@@ -52,6 +52,11 @@ describe('qs.parse()', function(){
});
})
+ it('should support encoded = signs', function(){
+ expect(qs.parse('he%3Dllo=th%3Dere'))
+ .to.eql({ 'he=llo': 'th=ere' });
+ })
+
it('should support nesting', function(){
expect(qs.parse('ops[>=]=25'))
.to.eql({ ops: { '>=': '25' }});

0 comments on commit 6ba94ee

Please sign in to comment.