Skip to content

Commit 8138e4b

Browse files
committed
docs: add docstring to IsContainerNetworkMode test function
1 parent 684bf4f commit 8138e4b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

config/config_docker_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ package config
22

33
import "testing"
44

5+
// TestDockerNetworkConfiguration_IsContainerNetworkMode tests the IsContainerNetworkMode
6+
// method to ensure it correctly identifies when the network mode is set to share another
7+
// container's network namespace (i.e., "container:<name>" format).
58
func TestDockerNetworkConfiguration_IsContainerNetworkMode(t *testing.T) {
69
tests := []struct {
710
name string
@@ -27,4 +30,3 @@ func TestDockerNetworkConfiguration_IsContainerNetworkMode(t *testing.T) {
2730
})
2831
}
2932
}
30-

0 commit comments

Comments
 (0)