Helper functions.
(t *testing.T, msg protobufproto.Message)
| 1422 | |
| 1423 | // Helper functions. |
| 1424 | func mustMarshalAny(t *testing.T, msg protobufproto.Message) *anypb.Any { |
| 1425 | t.Helper() |
| 1426 | v, err := anypb.New(msg) |
| 1427 | require.NoError(t, err) |
| 1428 | return v |
| 1429 | } |
| 1430 | |
| 1431 | // logLine represents a parsed JSON log entry. |
| 1432 | type logLine struct { |
no test coverage detected