Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proto: fix govet failures in Go 1.10 (#505)
In Go 1.10, go test automatically runs go vet as well. This uncovered a vet failure in TestUnmarshalRepeatingNonRepeatedExtension where pb.ComplexExtension is passed as a fmt.Stringer to t.Errorf. The string method exists only on the pointer-receiver type, *pb.ComplexExtension.
- Loading branch information