mirror of https://github.com/golang/go.git
CL 226639 changed the positions of the go.mod diagnostics (in a negligible way), but the tests are quite brittle and can't handle the different position. Rewrite this test as a regression test to handle it. The special // indirect marker can be removed from the go/expect package as a result, since it was only used in this one place. Change-Id: I7d9a62e32e53d477838e65673635ed231c07b659 Reviewed-on: https://go-review.googlesource.com/c/tools/+/240691 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
|---|---|---|
| .. | ||
| go.mod | ||
| test.go | ||