(t *testing.T)
| 520 | } |
| 521 | |
| 522 | func TestMarshalingNil(t *testing.T) { |
| 523 | var msg *pb2.Simple |
| 524 | m := &Marshaler{} |
| 525 | if _, err := m.MarshalToString(msg); err == nil { |
| 526 | t.Errorf("mashaling nil returned no error") |
| 527 | } |
| 528 | } |
| 529 | |
| 530 | func TestMarshalIllegalTime(t *testing.T) { |
| 531 | tests := []struct { |
nothing calls this directly
no test coverage detected