(t *testing.T)
| 724 | } |
| 725 | |
| 726 | func TestBindingProtoBufFail(t *testing.T) { |
| 727 | test := &protoexample.Test{ |
| 728 | Label: proto.String("yes"), |
| 729 | } |
| 730 | data, _ := proto.Marshal(test) |
| 731 | |
| 732 | testProtoBodyBindingFail(t, |
| 733 | ProtoBuf, "protobuf", |
| 734 | "/", "/", |
| 735 | string(data), string(data[1:])) |
| 736 | } |
| 737 | |
| 738 | func TestBindingBSON(t *testing.T) { |
| 739 | var obj FooStruct |
nothing calls this directly
no test coverage detected