| commit | 814b936cd012ffe7a0307a3ecceae947c8439df1 | [log] [tgz] |
|---|---|---|
| author | David Symonds <dsymonds@golang.org> | Tue Dec 13 09:10:47 2011 +1100 |
| committer | David Symonds <dsymonds@golang.org> | Tue Dec 13 09:10:47 2011 +1100 |
| tree | e6ee11d3dbd32990572806e00eb1e317e1efcf73 | |
| parent | 2c737f3c3b7e212cc5fe5d4190ff3d85d8ff6f92 [diff] [blame] |
goprotobuf: Fix panic in SetDefaults for nil sub-messages. Fixes #23. R=r CC=golang-dev http://codereview.appspot.com/5477071
diff --git a/proto/all_test.go b/proto/all_test.go index 1d64610..615e88a 100644 --- a/proto/all_test.go +++ b/proto/all_test.go
@@ -1279,7 +1279,7 @@ } SetDefaults(m) if !Equal(m, expected) { - t.Errorf(" got %v\nwant %v", m, expected) + t.Errorf("\n got %v\nwant %v", m, expected) } }