refactor(tests): standardize formatting in test cases for clarity

This commit is contained in:
GitHub Actions
2025-12-24 11:53:29 +00:00
parent 4a081025a7
commit 50310453e4
2 changed files with 2 additions and 2 deletions

View File

@@ -234,7 +234,7 @@ func TestDockerHandler_ListContainers_InvalidHost(t *testing.T) {
h.RegisterRoutes(api)
tests := []struct {
name string
name string
hostParam string
}{
{"arbitrary IP", "host=10.0.0.1"},

View File

@@ -606,7 +606,7 @@ func TestIsPrivateIP_IPv6Comprehensive(t *testing.T) {
{"IPv4-mapped private", "::ffff:192.168.1.1", true},
// Edge cases
{"IPv6 unspecified", "::", false}, // Not private, just null
{"IPv6 unspecified", "::", false}, // Not private, just null
{"IPv6 multicast", "ff02::1", true}, // Multicast is blocked by IsLinkLocalMulticast()
}