chore: fix function comment to match actual function name
Some checks failed
Build / build-nix (push) Has been cancelled
Build / build-cross (GOARCH=amd64 GOOS=darwin) (push) Has been cancelled
Build / build-cross (GOARCH=amd64 GOOS=linux) (push) Has been cancelled
Build / build-cross (GOARCH=arm64 GOOS=darwin) (push) Has been cancelled
Build / build-cross (GOARCH=arm64 GOOS=linux) (push) Has been cancelled
Check Generated Files / check-generated (push) Has been cancelled
Build (main) / container (push) Has been cancelled
Build (main) / binaries (amd64, darwin) (push) Has been cancelled
Build (main) / binaries (amd64, linux) (push) Has been cancelled
Build (main) / binaries (arm64, darwin) (push) Has been cancelled
Build (main) / binaries (arm64, linux) (push) Has been cancelled
Nix Flake Checks / build (push) Has been cancelled
Nix Flake Checks / gotest (push) Has been cancelled
Nix Flake Checks / golangci-lint (push) Has been cancelled
Nix Flake Checks / formatting (push) Has been cancelled
NixOS Module Tests / nix-module-check (push) Has been cancelled
Server Tests / servertest (push) Has been cancelled

Signed-off-by: alaningtrump <alaningtrump@outlook.com>
This commit is contained in:
alaningtrump 2026-07-03 11:00:06 +08:00 committed by nblock
parent a84945f134
commit 048308511c

View file

@ -8,7 +8,7 @@ import (
"tailscale.com/tailcfg" "tailscale.com/tailcfg"
) )
// TestParseDestinationAndPort tests the splitDestinationAndPort function using table-driven tests. // TestSplitDestinationAndPort tests the splitDestinationAndPort function using table-driven tests.
func TestSplitDestinationAndPort(t *testing.T) { func TestSplitDestinationAndPort(t *testing.T) {
testCases := []struct { testCases := []struct {
input string input string