(t *testing.T, m RawMessage)
| 156 | } |
| 157 | |
| 158 | func assertEmpty(t *testing.T, m RawMessage) { |
| 159 | t.Helper() |
| 160 | |
| 161 | if len(m) != 0 { |
| 162 | t.Errorf("unexpected content remained in the protobuf message: %v", m) |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | func BenchmarkScan(b *testing.B) { |
| 167 | m, _ := Marshal(&message{ |
no outgoing calls
no test coverage detected
searching dependent graphs…