-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/stringer: streamline test subprocesses
- Execute the test binary itself as cmd/stringer instead of invoking (and cleaning up after) 'go build'. - Replace os.MkdirTemp with T.TempDir Changes are similar to https://go.dev/cl/377836. Change-Id: I5f9fca20e0f1f045826c385d556257fc5982ed53 GitHub-Last-Rev: f6c6b77 GitHub-Pull-Request: #425 Reviewed-on: https://go-review.googlesource.com/c/tools/+/464350 Reviewed-by: Bryan Mills <bcmills@google.com> Auto-Submit: Bryan Mills <bcmills@google.com> Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Reviewed-by: Michael Knyszek <mknyszek@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Bryan Mills <bcmills@google.com>
- Loading branch information
1 parent
6b6857a
commit f124b50
Showing
2 changed files
with
34 additions
and
27 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