protobuf-go/encoding/protojson
Michael Stapelberg 5c14d72191 encoding/prototext: use testmessages_test.go approach, too
With this change, we establish a similar mechanism in encoding/prototext as
already exists in the proto package: a testmessages_test.go which serves as an
extension point where one can inject more variants into the corpus of test
messages.

Change-Id: I9f83735a44e5fd2e4736f888aaca428e4cc8ed42
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/623116
Reviewed-by: Chressie Himpel <chressie@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
2024-10-29 14:35:35 +00:00
..
bench_test.go
decode_test.go encoding/protojson: allow missing value for Any of type Empty 2024-10-09 07:32:47 +00:00
decode.go protojson: changes error message returned by unmarshal 2024-06-14 06:16:58 +00:00
doc.go
encode_test.go encoding/prototext: use testmessages_test.go approach, too 2024-10-29 14:35:35 +00:00
encode.go encoding/protojson: use fd.HasPresence() for editions compatibility 2024-08-20 08:10:26 +00:00
fuzz_test.go
well_known_types.go encoding/protojson: allow missing value for Any of type Empty 2024-10-09 07:32:47 +00:00