| commit | 007ed9dc8ee9b79d99ae9771499dd02d4db3df54 | [log] [tgz] |
|---|---|---|
| author | David Symonds <dsymonds@golang.org> | Tue Jul 24 10:59:36 2012 +1000 |
| committer | David Symonds <dsymonds@golang.org> | Tue Jul 24 10:59:36 2012 +1000 |
| tree | 6a2bbadf11ad57bc6e29d0d8e8cf8853d63bdc5a | |
| parent | 525838c022808c7f80e6fb27f21f046c39864363 [diff] [blame] |
goprotobuf: Fixes for Clone and Equal. R=r CC=golang-dev http://codereview.appspot.com/6419071
diff --git a/proto/text_parser_test.go b/proto/text_parser_test.go index cf86ad3..9f334fb 100644 --- a/proto/text_parser_test.go +++ b/proto/text_parser_test.go
@@ -359,7 +359,7 @@ exp := &RepeatedEnum{ Color: []RepeatedEnum_Color{RepeatedEnum_RED}, } - if !reflect.DeepEqual(pb, exp) { + if !Equal(pb, exp) { t.Errorf("Incorrect populated \nHave: %v\nWant: %v", pb, exp) } }