Fix test key orders
This commit is contained in:
parent
43fdc70d06
commit
56e8d56a0e
@ -13,11 +13,11 @@ TestRegister.addTests([
|
|||||||
name: "Extract URI: Test",
|
name: "Extract URI: Test",
|
||||||
input: "http://www.example.org:9999/path?foo=bar&baz=1&baz=2#frob",
|
input: "http://www.example.org:9999/path?foo=bar&baz=1&baz=2#frob",
|
||||||
expectedOutput: JSON.stringify({
|
expectedOutput: JSON.stringify({
|
||||||
"protocol": "http:",
|
|
||||||
"hostname": "www.example.org",
|
|
||||||
"port": "9999",
|
|
||||||
"pathname": "/path",
|
|
||||||
"hash": "#frob",
|
"hash": "#frob",
|
||||||
|
"hostname": "www.example.org",
|
||||||
|
"pathname": "/path",
|
||||||
|
"port": "9999",
|
||||||
|
"protocol": "http:",
|
||||||
"query": {
|
"query": {
|
||||||
"foo": "bar",
|
"foo": "bar",
|
||||||
"baz": [
|
"baz": [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user