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