refactor(tests): standardize formatting in test cases for clarity
This commit is contained in:
@@ -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"},
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user