aboutsummaryrefslogtreecommitdiff
path: root/src/testing
diff options
context:
space:
mode:
authorKir Kolyshkin <kolyshkin@gmail.com>2024-08-29 18:51:10 -0700
committerDamien Neil <dneil@google.com>2024-09-03 18:03:03 +0000
commitb4d4744059c0c9632c034af145deb161995f2f32 (patch)
treee54bf106a38ccc83d4483f6326fcab45d9049326 /src/testing
parent7303a283c4e8aa734463ec85d90dd0732b826c71 (diff)
downloadgo-b4d4744059c0c9632c034af145deb161995f2f32.tar.xz
internal/testenv: add Executable
Tests commonly use code to get os.Executable value, and some cache the resulting value. To reduce code duplication, add a helper that does just that. Change-Id: I9dd7eb24e24a3abd92be2b87227e823f0fca5cb3 Reviewed-on: https://go-review.googlesource.com/c/go/+/609301 Reviewed-by: Cherry Mui <cherryyz@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Alan Donovan <adonovan@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/testing')
0 files changed, 0 insertions, 0 deletions