You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
0 commit comments