Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/cue/cmd: use the new goproxytest.NewTestServer
Which avoids chatty tests logging directly to stderr: $ go test go proxy: no archive externalmod.test v1.0.0 go proxy: no archive externalmod.test/imports/root v1.0.0 go proxy: no archive externalmod.test v1.0.0 PASS ok cuelang.org/go/cmd/cue/cmd 3.314s Now these log lines are part of TestScript, and shown only with -v: $ go test -run TestScript/get_go_non_local -v [...] === NAME TestScript proxy.go:225: go proxy: no archive externalmod.test v1.0.0 proxy.go:225: go proxy: no archive externalmod.test v1.0.0 proxy.go:225: go proxy: no archive externalmod.test/imports/root v1.0.0 Signed-off-by: Daniel Martí <[email protected]> Change-Id: I073b9b284694900634f9bc315813c6579bafa03d Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201550 Reviewed-by: Roger Peppe <[email protected]> TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
- Loading branch information