Change information
Commit message:
go/analysis/checker: make test hermetic
Before, it made assumptions about the set of packages in
the standard library, which is about to change, burdening
the person making that change with a spurious test failure.
(Every time I do this we get burned. When will I learn?)
Now, it uses a fake test data tree.
Change-Id: Ib15f08cd28b38cf47fbb997291998959a679eaa2
Files:
- M go/analysis/checker/example_test.go
Change size: M
Delta: 1 file changed, 117 insertions(+), 63 deletions(-)
Branch: refs/heads/master
Submit Requirements:
Code-Review: +2 by Michael Pratt
TryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI