test(url): Update URL parsing expectations for params removal

This commit is contained in:
Caleb Maclennan 2023-11-09 14:37:52 +03:00
parent a1b5d3abd1
commit 784b0631e1
No known key found for this signature in database
GPG Key ID: B538286DE04ECFE5

View File

@ -99,8 +99,7 @@ check_parse_url{
userinfo = "user:pass$%?#wd", userinfo = "user:pass$%?#wd",
password = "pass$%?#wd", password = "pass$%?#wd",
user = "user", user = "user",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -113,8 +112,7 @@ check_parse_url{
userinfo = "user:pass?#wd", userinfo = "user:pass?#wd",
password = "pass?#wd", password = "pass?#wd",
user = "user", user = "user",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -127,8 +125,7 @@ check_parse_url{
userinfo = "user:pass-wd", userinfo = "user:pass-wd",
password = "pass-wd", password = "pass-wd",
user = "user", user = "user",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -141,8 +138,7 @@ check_parse_url{
userinfo = "user:pass#wd", userinfo = "user:pass#wd",
password = "pass#wd", password = "pass#wd",
user = "user", user = "user",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -155,8 +151,7 @@ check_parse_url{
userinfo = "user:pass#wd", userinfo = "user:pass#wd",
password = "pass#wd", password = "pass#wd",
user = "user", user = "user",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
} }
check_parse_url{ check_parse_url{
@ -167,8 +162,7 @@ check_parse_url{
port = "port", port = "port",
userinfo = "userinfo", userinfo = "userinfo",
user = "userinfo", user = "userinfo",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -182,8 +176,7 @@ check_parse_url{
userinfo = "user:password", userinfo = "user:password",
user = "user", user = "user",
password = "password", password = "password",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment", fragment = "fragment",
} }
@ -196,8 +189,7 @@ check_parse_url{
port = "port", port = "port",
userinfo = "userinfo", userinfo = "userinfo",
user = "userinfo", user = "userinfo",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "" fragment = ""
} }
@ -210,8 +202,7 @@ check_parse_url{
port = "port", port = "port",
userinfo = "userinfo", userinfo = "userinfo",
user = "userinfo", user = "userinfo",
path = "/path", path = "/path;params",
params = "params",
query = "", query = "",
fragment = "fragment" fragment = "fragment"
} }
@ -224,8 +215,7 @@ check_parse_url{
port = "port", port = "port",
userinfo = "userinfo", userinfo = "userinfo",
user = "userinfo", user = "userinfo",
path = "/path", path = "/path;params",
params = "params",
fragment = "fragment" fragment = "fragment"
} }
@ -237,8 +227,7 @@ check_parse_url{
port = "port", port = "port",
userinfo = "userinfo", userinfo = "userinfo",
user = "userinfo", user = "userinfo",
path = "/path", path = "/path;",
params = "",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -264,8 +253,7 @@ check_parse_url{
port = "port", port = "port",
userinfo = "userinfo", userinfo = "userinfo",
user = "userinfo", user = "userinfo",
path = "/", path = "/;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -287,8 +275,7 @@ check_parse_url{
port = "port", port = "port",
userinfo = "userinfo", userinfo = "userinfo",
user = "userinfo", user = "userinfo",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -438,8 +425,7 @@ check_parse_url{
port = "port", port = "port",
userinfo = "userinfo", userinfo = "userinfo",
user = "userinfo", user = "userinfo",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -453,8 +439,7 @@ check_parse_url{
userinfo = "user:password", userinfo = "user:password",
user = "user", user = "user",
password = "password", password = "password",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -467,8 +452,7 @@ check_build_url {
port = "port", port = "port",
user = "user", user = "user",
password = "password", password = "password",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -478,8 +462,7 @@ check_build_url{
host = "::FFFF:129.144.52.38", host = "::FFFF:129.144.52.38",
port = "port", port = "port",
user = "userinfo", user = "userinfo",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -491,8 +474,7 @@ check_build_url{
port = "port", port = "port",
user = "user", user = "user",
password = "password", password = "password",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -503,8 +485,7 @@ check_build_url {
host = "host", host = "host",
user = "user", user = "user",
password = "password", password = "password",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -514,8 +495,7 @@ check_build_url {
scheme = "scheme", scheme = "scheme",
host = "host", host = "host",
user = "user", user = "user",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -524,8 +504,7 @@ check_build_url {
url = "scheme://host/path;params?query#fragment", url = "scheme://host/path;params?query#fragment",
scheme = "scheme", scheme = "scheme",
host = "host", host = "host",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -534,8 +513,7 @@ check_build_url {
url = "scheme://host/path;params#fragment", url = "scheme://host/path;params#fragment",
scheme = "scheme", scheme = "scheme",
host = "host", host = "host",
path = "/path", path = "/path;params",
params = "params",
fragment = "fragment" fragment = "fragment"
} }
@ -573,9 +551,7 @@ check_build_url {
user = "user", user = "user",
userinfo = "not used", userinfo = "not used",
password = "password", password = "password",
path = "/path", path = "/path;params",
params = "params",
query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -588,8 +564,7 @@ check_build_url {
userinfo = "not used", userinfo = "not used",
authority = "not used", authority = "not used",
password = "password", password = "password",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -601,8 +576,7 @@ check_build_url {
port = "port", port = "port",
userinfo = "user:password", userinfo = "user:password",
authority = "not used", authority = "not used",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }
@ -611,8 +585,7 @@ check_build_url {
url = "scheme://user:password@host:port/path;params?query#fragment", url = "scheme://user:password@host:port/path;params?query#fragment",
scheme = "scheme", scheme = "scheme",
authority = "user:password@host:port", authority = "user:password@host:port",
path = "/path", path = "/path;params",
params = "params",
query = "query", query = "query",
fragment = "fragment" fragment = "fragment"
} }