MCPcopy Index your code
hub / github.com/docker/cli / TestNamespaceScope

Function TestNamespaceScope

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

Source from the content-addressed store, hash-verified

14)
15
16func TestNamespaceScope(t *testing.T) {
17 scoped := Namespace{name: "foo"}.Scope("bar")
18 assert.Check(t, is.Equal("foo_bar", scoped))
19}
20
21func TestNamespaceDescope(t *testing.T) {
22 descoped := Namespace{name: "foo"}.Descope("foo_bar")

Callers

nothing calls this directly

Calls 1

ScopeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…