go/go/expect
Rebecca Stambler 682c4542fd all: update dependencies in go.mod file
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>
2020-07-06 23:19:48 +00:00
..
testdata all: update dependencies in go.mod file 2020-07-06 23:19:48 +00:00
expect.go all: update dependencies in go.mod file 2020-07-06 23:19:48 +00:00
expect_test.go all: update dependencies in go.mod file 2020-07-06 23:19:48 +00:00
extract.go go/expect: account for the offset from the file.base for modfiles 2020-02-03 17:47:00 +00:00