cmd/cue/cmd: use goproxytest.Setup for per-test proxy modules
Use the new goproxytest.Setup function to start per-test Go module
proxy servers, embedding proxy module files directly in the txtar
test files that use them. This removes the need for the shared
testdata/mod directory and makes each test self-contained.
Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: Ifb9cd45139e9a464202706f60e9a9985635d85f3
Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1235493
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>