mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-21 18:48:06 +02:00
upgrade to go v1.24 (#5562)
* upgrade to go v1.24 * add a macOS-specific //nolint comment too --------- Co-authored-by: Kenneth Jenkins <51246568+kenjenkins@users.noreply.github.com>
This commit is contained in:
parent
8d9f1bb38e
commit
c47055bece
89 changed files with 170 additions and 190 deletions
|
@ -150,7 +150,6 @@ func TestGetServerNamesForURL(t *testing.T) {
|
|||
{"tcp", &url.URL{Scheme: "tcp+https", Host: "example.com:1234"}, []string{"example.com"}},
|
||||
{"tcp with path", &url.URL{Scheme: "tcp+https", Host: "proxy.example.com", Path: "/ssh.example.com:1234"}, []string{"proxy.example.com"}},
|
||||
} {
|
||||
tc := tc
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
got := GetServerNamesForURL(tc.u)
|
||||
|
@ -176,7 +175,6 @@ func TestGetDomainsForURL(t *testing.T) {
|
|||
{"tcp with path", &url.URL{Scheme: "tcp+https", Host: "proxy.example.com", Path: "/ssh.example.com:1234"}, []string{"ssh.example.com:1234"}},
|
||||
}
|
||||
for _, tc := range tests {
|
||||
tc := tc
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
got := GetDomainsForURL(tc.u, true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue