Commit 4b14959
committed
protosanitizer: test +v conversion
Sometimes "%+v" was used to print a message although it produces the
same output as "%v" and "%s" for gRPC messages because they implement
fmt.Stringer. It's worthwhile having a test that ensures that wrapping
the message with StripSecrets and printing with "+v" still works.1 parent 0f63044 commit 4b14959
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
213 | | - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
214 | 216 | | |
215 | 217 | | |
216 | 218 | | |
| |||
0 commit comments