| 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_test.go b/proto/text_test.go index f09b1ab..049eded 100644 --- a/proto/text_test.go +++ b/proto/text_test.go
@@ -65,7 +65,7 @@ }, }, }, - Bikeshed: pb.NewMyMessage_Color(pb.MyMessage_BLUE), + Bikeshed: pb.MyMessage_BLUE.Enum(), Somegroup: &pb.MyMessage_SomeGroup{ GroupField: proto.Int32(8), },