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

Function TestReadLongTerm_NoFile

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

Source from the content-addressed store, hash-verified

36}
37
38func TestReadLongTerm_NoFile(t *testing.T) {
39 ms := NewMemoryStore(t.TempDir(), testLogger())
40 content := ms.ReadLongTerm()
41 if content != "" {
42 t.Errorf("expected empty string, got %q", content)
43 }
44}
45
46func TestWriteDailyNote(t *testing.T) {
47 dir := t.TempDir()

Callers

nothing calls this directly

Calls 4

ReadLongTermMethod · 0.95
ErrorfMethod · 0.80
NewMemoryStoreFunction · 0.70
testLoggerFunction · 0.70

Tested by

no test coverage detected