(t *testing.T)
| 211 | } |
| 212 | |
| 213 | func TestBuiltinMemory_NoAdapter(t *testing.T) { |
| 214 | SetMemoryAdapter(nil) |
| 215 | p := NewBuiltinMemoryPlugin() |
| 216 | if _, err := p.Execute(context.Background(), []string{`{"cmd":"recall","args":{}}`}); err == nil { |
| 217 | t.Error("expected error when no adapter is wired") |
| 218 | } |
| 219 | } |
nothing calls this directly
no test coverage detected