MCPcopy Create free account
hub / github.com/docker/cli / TestNamespaceName

Function TestNamespaceName

cli/compose/convert/compose_test.go:26–29  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

24}
25
26func TestNamespaceName(t *testing.T) {
27 namespaceName := Namespace{name: "foo"}.Name()
28 assert.Check(t, is.Equal("foo", namespaceName))
29}
30
31func TestAddStackLabel(t *testing.T) {
32 labels := map[string]string{

Callers

nothing calls this directly

Calls 1

NameMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…