(text string)
| 747 | } |
| 748 | |
| 749 | func buildExtDataTest(text string) UnmarshalTextTest { |
| 750 | msg := &pb2.MyMessage{ |
| 751 | Count: proto.Int32(42), |
| 752 | } |
| 753 | proto.SetExtension(msg, pb2.E_Ext_Text, proto.String("Hello, world!")) |
| 754 | proto.SetExtension(msg, pb2.E_Ext_Number, proto.Int32(1729)) |
| 755 | return UnmarshalTextTest{in: text, out: msg} |
| 756 | } |
| 757 | |
| 758 | func buildExtRepStringTest(text string) UnmarshalTextTest { |
| 759 | msg := &pb2.MyMessage{ |
no test coverage detected