MCPcopy Create free account
hub / github.com/diillson/chatcli / TestLoadBootstrapContent_MissingFiles

Function TestLoadBootstrapContent_MissingFiles

cli/workspace/bootstrap_test.go:65–71  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

63}
64
65func TestLoadBootstrapContent_MissingFiles(t *testing.T) {
66 bl := NewBootstrapLoader(t.TempDir(), t.TempDir(), testLogger())
67 content := bl.LoadBootstrapContent()
68 if content != "" {
69 t.Errorf("expected empty content for missing files, got %q", content)
70 }
71}
72
73func TestCacheInvalidation(t *testing.T) {
74 dir := t.TempDir()

Callers

nothing calls this directly

Calls 4

LoadBootstrapContentMethod · 0.95
NewBootstrapLoaderFunction · 0.85
ErrorfMethod · 0.80
testLoggerFunction · 0.70

Tested by

no test coverage detected