protobuf-go/proto
Joe Tsai 09217f08d2 all: make error messages unstable
Use internal/detrand in the construction of our error messages.
This alters whether there is one or two spaces following the "proto:" prefix.
While it is easy for users to still work around this mutation,
sit at least forces them to write test infrastructure to more fuzzily
match on error strings.

Change-Id: I4ddca717526ee3fc4dbb1e0b36cfca8c6e0df36d
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/194038
Reviewed-by: Herbie Ong <herbie@google.com>
2019-09-07 00:39:30 +00:00
..
bench_test.go
decode_gen.go all: remove use of deprecated NewMessage 2019-09-04 17:55:31 +00:00
decode_test.go internal/impl: change Go representation of extension lists to []T 2019-09-03 21:19:03 +00:00
decode.go all: remove use of deprecated NewMessage 2019-09-04 17:55:31 +00:00
doc.go
encode_gen.go all: support enforce_utf8 override 2019-07-15 19:53:05 +00:00
encode_test.go internal/impl: treat a nil oneof wrapper as if it were unset 2019-08-16 00:24:53 +00:00
encode.go proto: support message_set_wire_format 2019-07-15 19:32:30 +00:00
equal_test.go proto: equate floating-point NaNs 2019-07-15 21:36:38 +00:00
equal.go proto: equate floating-point NaNs 2019-07-15 21:36:38 +00:00
extension_test.go internal/impl: change Go representation of extension lists to []T 2019-09-03 21:19:03 +00:00
extension.go all: rename ExtensionType Descriptor method to TypeDescriptor (1/2) 2019-08-28 18:34:29 +00:00
isinit_test.go all: make error messages unstable 2019-09-07 00:39:30 +00:00
isinit.go runtime/protoiface: move and rename XXX_Methods 2019-07-12 19:31:58 +00:00
merge_test.go internal/impl: change Go representation of extension lists to []T 2019-09-03 21:19:03 +00:00
merge.go all: remove use of deprecated NewMessage 2019-09-04 17:55:31 +00:00
messageset_test.go all: rename tag and flags for legacy support 2019-08-08 20:49:00 +00:00
messageset.go all: rename ExtensionType Descriptor method to TypeDescriptor (1/2) 2019-08-28 18:34:29 +00:00
proto_methods.go runtime/protoiface: move and rename XXX_Methods 2019-07-12 19:31:58 +00:00
proto_reflect.go runtime/protoiface: move and rename XXX_Methods 2019-07-12 19:31:58 +00:00
proto.go all: remove dead code 2019-08-06 21:16:48 +00:00
reset_test.go internal/impl: treat a nil oneof wrapper as if it were unset 2019-08-16 00:24:53 +00:00
reset.go
size_gen.go
size.go proto: support message_set_wire_format 2019-07-15 19:32:30 +00:00
wrappers.go