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

Function TestGetMemoryContext_Empty

cli/workspace/memory_test.go:116–122  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

114}
115
116func TestGetMemoryContext_Empty(t *testing.T) {
117 ms := NewMemoryStore(t.TempDir(), testLogger())
118 ctx := ms.GetMemoryContext()
119 if ctx != "" {
120 t.Errorf("expected empty context, got %q", ctx)
121 }
122}
123
124func TestEnsureDirectories(t *testing.T) {
125 dir := t.TempDir()

Callers

nothing calls this directly

Calls 4

GetMemoryContextMethod · 0.95
ErrorfMethod · 0.80
NewMemoryStoreFunction · 0.70
testLoggerFunction · 0.70

Tested by

no test coverage detected