Skip to content

Commit

Permalink
RFC 3986
Browse files Browse the repository at this point in the history
Updating test so that it compares properly RFC 3986 encoded result.
  • Loading branch information
jamie-beck committed Mar 19, 2015
1 parent 066387d commit 0e97baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/stringify.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ describe('stringify()', function () {

it('stringifies the weird object from qs', function (done) {

expect(Qs.stringify({ 'my weird field': 'q1!2"\'w$5&7/z8)?' })).to.equal('my%20weird%20field=q1!2%22\'w%245%267%2Fz8)%3F');
expect(Qs.stringify({ 'my weird field': '~q1!2"\'w$5&7/z8)?' })).to.equal('my%20weird%20field=~q1%212%22%27w%245%267%2Fz8%29%3F');
done();
});

Expand Down

0 comments on commit 0e97baf

Please sign in to comment.