diff --git a/url/setters_tests.json b/url/setters_tests.json index 55bbc430257e0f..26170584f419c5 100644 --- a/url/setters_tests.json +++ b/url/setters_tests.json @@ -27,16 +27,18 @@ "href": "a://example.net", "new_value": "", "expected": { - "href": "a://example.net/", - "protocol": "a:" + "href": "a://example.net", + "protocol": "a:", + "pathname": "" } }, { "href": "a://example.net", "new_value": "b", "expected": { - "href": "b://example.net/", - "protocol": "b:" + "href": "b://example.net", + "protocol": "b:", + "pathname": "" } }, { @@ -44,8 +46,9 @@ "href": "a://example.net", "new_value": "B", "expected": { - "href": "b://example.net/", - "protocol": "b:" + "href": "b://example.net", + "protocol": "b:", + "pathname": "" } }, { @@ -53,8 +56,9 @@ "href": "a://example.net", "new_value": "é", "expected": { - "href": "a://example.net/", - "protocol": "a:" + "href": "a://example.net", + "protocol": "a:", + "pathname": "" } }, { @@ -62,8 +66,9 @@ "href": "a://example.net", "new_value": "0b", "expected": { - "href": "a://example.net/", - "protocol": "a:" + "href": "a://example.net", + "protocol": "a:", + "pathname": "" } }, { @@ -71,16 +76,18 @@ "href": "a://example.net", "new_value": "+b", "expected": { - "href": "a://example.net/", - "protocol": "a:" + "href": "a://example.net", + "protocol": "a:", + "pathname": "" } }, { "href": "a://example.net", "new_value": "bC0+-.", "expected": { - "href": "bc0+-.://example.net/", - "protocol": "bc0+-.:" + "href": "bc0+-.://example.net", + "protocol": "bc0+-.:", + "pathname": "" } }, { @@ -88,8 +95,9 @@ "href": "a://example.net", "new_value": "b,c", "expected": { - "href": "a://example.net/", - "protocol": "a:" + "href": "a://example.net", + "protocol": "a:", + "pathname": "" } }, { @@ -97,8 +105,9 @@ "href": "a://example.net", "new_value": "bé", "expected": { - "href": "a://example.net/", - "protocol": "a:" + "href": "a://example.net", + "protocol": "a:", + "pathname": "" } }, { @@ -140,8 +149,9 @@ "href": "ssh://me@example.net", "new_value": "http", "expected": { - "href": "ssh://me@example.net/", - "protocol": "ssh:" + "href": "ssh://me@example.net", + "protocol": "ssh:", + "pathname": "" } }, {