This uses golden files to hold the hover text as they are no more fragile than hard coding the text in the tests, and much easier to update. We need a lot more tests, and ones with actual comments, but this is a start and at least adds the machienery it would take. Change-Id: Ia2f79257642759e4c2f972d4037f258134e0fb33 Reviewed-on: https://go-review.googlesource.com/c/tools/+/174380 Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
a | ||
b | ||
broken |