MCPcopy Create free account
hub / github.com/codehamr/codehamr / TestEventErrorPreservesStreamedText

Function TestEventErrorPreservesStreamedText

internal/tui/tui_test.go:2713–2731  ·  view source on GitHub ↗

TestEventErrorPreservesStreamedText: a stream error mid-content flushes the partial text before appending the error line, same principle as cancel, user keeps the context they were reading.

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

newTestModelFunction · 0.85
stripANSIFunction · 0.85
handleStreamMethod · 0.80
StringMethod · 0.80
activeMethod · 0.80

Tested by

no test coverage detected