diff options
| author | Kir Kolyshkin <kolyshkin@gmail.com> | 2023-09-12 18:36:44 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-09-20 18:52:11 +0000 |
| commit | 77a1104975ebf5646f38978a054afe7ca4501fd8 (patch) | |
| tree | 8c46c434eb70bcaa4ef1758f9949b8bf36cefca3 /src/debug/elf | |
| parent | d5138e580c2404f2b8f03d2e1e32b2226cb6bbbc (diff) | |
| download | go-77a1104975ebf5646f38978a054afe7ca4501fd8.tar.xz | |
cmd/go/internal/fsys: improve initOverlay test helper
1. Remove the use of fmt.Sprintf from t.Fatal.
2. Check for errors from initFromJSON.
3. Move 'overlay=0' to a separate cleanup function, for clarity.
Change-Id: I4d0daad248e8f26b6f159b4cc7e77fd60dc1ed98
Reviewed-on: https://go-review.googlesource.com/c/go/+/527700
Auto-Submit: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Kirill Kolyshkin <kolyshkin@gmail.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'src/debug/elf')
0 files changed, 0 insertions, 0 deletions
