Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

test undefined and null values

  • Loading branch information...
commit 7a94404f201bbef8e0431f16775bdcd2ddc27539 1 parent a172dcf
@fredericosilva authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 test/stringify.js
View
4 test/stringify.js
@@ -14,7 +14,9 @@ var str_identities = {
{ str: 'foo=1&bar=2', obj: {'foo' : '1', 'bar' : '2'}},
{ str: 'my%20weird%20field=q1!2%22\'w%245%267%2Fz8)%3F', obj: {'my weird field': "q1!2\"'w$5&7/z8)?"}},
{ str: 'foo%3Dbaz=bar', obj: {'foo=baz': 'bar'}},
- { str: 'foo=bar&bar=baz', obj: {foo: 'bar', bar: 'baz'}}
+ { str: 'foo=bar&bar=baz', obj: {foo: 'bar', bar: 'baz'}},
+ { str: 'foo=bar', obj: {foo: 'bar', bar: undefined}},
+ { str: 'foo=bar', obj: {foo: 'bar', bar: null}}
],
'escaping': [
{ str: 'foo=foo%20bar', obj: {foo: 'foo bar'}},
Please sign in to comment.
Something went wrong with that request. Please try again.