]> Cypherpunks repositories - gostls13.git/commit
cmd/go: simplify and document lazy-loading test cases
authorBryan C. Mills <bcmills@google.com>
Tue, 1 Sep 2020 03:15:05 +0000 (23:15 -0400)
committerBryan C. Mills <bcmills@google.com>
Tue, 1 Sep 2020 21:52:22 +0000 (21:52 +0000)
commitb0369225ebfdc355c61abbbb2663316388c60895
treece1756ce8294863ed497921a68f9e73ba0dd5532
parent6fc329bb7fbb78315e2f53895a9fc6cbed63c1d7
cmd/go: simplify and document lazy-loading test cases

I decided to add package and module diagrams to the test cases to make
them easier to follow.

While adding those diagrams, I noticed some strong similarities among
a couple of the graphs, so I consolidated those cases (and deleted the
redundant tests).

For #36460

Change-Id: Id6cd04fc871379b83851c2d1af89ea9296a0f3e5
Reviewed-on: https://go-review.googlesource.com/c/go/+/251997
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
src/cmd/go/testdata/script/mod_all.txt
src/cmd/go/testdata/script/mod_lazy_import_allmod.txt
src/cmd/go/testdata/script/mod_lazy_import_test_dep.txt [deleted file]
src/cmd/go/testdata/script/mod_lazy_new_import.txt
src/cmd/go/testdata/script/mod_lazy_test_all.txt [deleted file]
src/cmd/go/testdata/script/mod_lazy_test_horizon.txt
src/cmd/go/testdata/script/mod_lazy_test_of_test_dep.txt