(text string)
| 756 | } |
| 757 | |
| 758 | func buildExtRepStringTest(text string) UnmarshalTextTest { |
| 759 | msg := &pb2.MyMessage{ |
| 760 | Count: proto.Int32(42), |
| 761 | } |
| 762 | if err := proto.SetExtension(msg, pb2.E_Greeting, []string{"bula", "hola"}); err != nil { |
| 763 | panic(err) |
| 764 | } |
| 765 | return UnmarshalTextTest{in: text, out: msg} |
| 766 | } |
| 767 | |
| 768 | var unmarshalTextTests = []UnmarshalTextTest{ |
| 769 | // Basic |
no test coverage detected