MCPcopy Create free account
hub / github.com/compose-spec/compose-go / TestNotExternal

Function TestNotExternal

transform/external_test.go:26–34  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

24)
25
26func TestNotExternal(t *testing.T) {
27 ssh, err := transformMaybeExternal(map[string]any{
28 "driver": "foo",
29 }, tree.NewPath("resources.test"), false)
30 assert.NilError(t, err)
31 assert.DeepEqual(t, ssh, map[string]any{
32 "driver": "foo",
33 })
34}
35
36func TestExternalNamed(t *testing.T) {
37 ssh, err := transformMaybeExternal(map[string]any{

Callers

nothing calls this directly

Calls 2

NewPathFunction · 0.92
transformMaybeExternalFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…