mirror of
https://github.com/golang/go
synced 2024-11-19 01:34:40 -07:00
e1fc249b66
* Adds tests for 'convertAnnotation'. * Ensures that converting an empty string "" to a truncatable string returns nil, to save bandwidth. However, in the future, we should perhaps allow empty strings to be serialized if say "emptyAllowed" is set. * Caught the case where convertAttribute hadn't type switched on "int" * Provides 40.5% test coverage for ocagent.go More tests for the other functions shall follow in later CLs. Updates CL 186679 Change-Id: Ie9b46b0b320339ed79cd136fff536ccfcfbeb9e7 Reviewed-on: https://go-review.googlesource.com/c/tools/+/188877 Run-TryBot: Emmanuel Odeke <emm.odeke@gmail.com> Reviewed-by: Ian Cottrell <iancottrell@google.com> |
||
---|---|---|
.. | ||
log | ||
metric | ||
ocagent | ||
stats | ||
tag | ||
trace | ||
worker | ||
telemetry.go |