| commit | efeca9a18e30799dade089c1a4ea1d8d0fd01ec8 | [log] [tgz] |
|---|---|---|
| author | David Symonds <dsymonds@golang.org> | Tue May 08 10:36:04 2012 +1000 |
| committer | David Symonds <dsymonds@golang.org> | Tue May 08 10:36:04 2012 +1000 |
| tree | 4f171ef7f9900081876fe2b912215e723fd260c9 | |
| parent | 61826dafe5227787d82c075dfee69138c53e51a7 [diff] [blame] |
goprotobuf: Better enum construction. R=r CC=golang-dev http://codereview.appspot.com/6188053
diff --git a/proto/text_parser_test.go b/proto/text_parser_test.go index dbd6b2c..f9f09d9 100644 --- a/proto/text_parser_test.go +++ b/proto/text_parser_test.go
@@ -158,7 +158,7 @@ in: `count:42 bikeshed: BLUE`, out: &MyMessage{ Count: Int32(42), - Bikeshed: NewMyMessage_Color(MyMessage_BLUE), + Bikeshed: MyMessage_BLUE.Enum(), }, },