-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I found that cmd/cue's tests were chatty because goproxytest was complaining about missing modules which did not matter. Because those logs always went directly to os.Stderr, I couldn't fix it without changing the API in this package. Rather than adding a complex API that takes a logger, since nearly all downstream use cases come from Go tests, add an API on top of testing.TB which makes its use much nicer.
- Loading branch information
Showing
2 changed files
with
30 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters