MCPcopy Create free account
hub / github.com/InferCore/InferCore / TestReplay_NilStore

Function TestReplay_NilStore

internal/replay/replay_test.go:20–25  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

18)
19
20func TestReplay_NilStore(t *testing.T) {
21 _, err := Replay(context.Background(), &config.Config{}, nil, "x", ModeExact, Dependencies{})
22 if err == nil || !strings.Contains(err.Error(), "nil") {
23 t.Fatalf("err=%v", err)
24 }
25}
26
27func TestReplay_UnknownMode(t *testing.T) {
28 st := requests.NewMemoryStore()

Callers

nothing calls this directly

Calls 2

ReplayFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected