MCPcopy Create free account
hub / github.com/facebook/time / TestGetPropagatesReadError

Function TestGetPropagatesReadError

sa53/protocol/protocol_test.go:208–212  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

206}
207
208func TestGetPropagatesReadError(t *testing.T) {
209 m := newTestMac(&errPort{})
210 _, err := m.Get("Temperature")
211 require.True(t, errors.Is(err, io.ErrUnexpectedEOF))
212}
213
214func TestCmdDrainsThenWrites(t *testing.T) {
215 // Simulate: stale bytes are pending pre-write (drain should eat them),

Callers

nothing calls this directly

Calls 2

newTestMacFunction · 0.85
GetMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…