go/gopls/internal/regtest/modfile
Robert Findley 1cb4c17983 gopls/internal/regtest: make AfterChange do the awaiting
The only expected use of the AfterChange helper is in the pattern
env.Await(env.AfterChange(...)). Simplify this pattern by having
AfterChange do the awaiting.

Change-Id: I832d619e8d44daae952f250e7aef69eba4e6715a
Reviewed-on: https://go-review.googlesource.com/c/tools/+/450676
Reviewed-by: Alan Donovan <adonovan@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
2022-11-15 16:13:28 +00:00
..
modfile_test.go gopls/internal/regtest: make AfterChange do the awaiting 2022-11-15 16:13:28 +00:00