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

Function TestMissingFile

cli/config/config_test.go:43–51  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

41}
42
43func TestMissingFile(t *testing.T) {
44 tmpHome := t.TempDir()
45
46 config, err := Load(tmpHome)
47 assert.NilError(t, err)
48
49 // Now save it and make sure it shows up in new form
50 saveConfigAndValidateNewFormat(t, config, tmpHome)
51}
52
53// TestLoadDanglingSymlink verifies that we gracefully handle dangling symlinks.
54//

Callers

nothing calls this directly

Calls 2

LoadFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…