| commit | a7f3a0f1487abe20837086c9fd975acf54929068 | [log] [tgz] |
|---|---|---|
| author | David Symonds <dsymonds@golang.org> | Mon Sep 09 13:32:33 2013 +1000 |
| committer | David Symonds <dsymonds@golang.org> | Mon Sep 09 13:32:33 2013 +1000 |
| tree | 7d752bef2b844aca50633b6418ec2ccf66ea53e0 | |
| parent | 4646c3707396767395ca8a22efc3aafe4f9e160d [diff] [blame] |
goprotobuf: Consistently prefix error strings with "proto: ". R=r CC=golang-dev https://codereview.appspot.com/13618043
diff --git a/proto/text_test.go b/proto/text_test.go index f5d0574..c64b073 100644 --- a/proto/text_test.go +++ b/proto/text_test.go
@@ -303,7 +303,7 @@ limit int } -var outOfSpace = errors.New("insufficient space") +var outOfSpace = errors.New("proto: insufficient space") func (w *limitedWriter) Write(p []byte) (n int, err error) { var avail = w.limit - w.b.Len()