aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/ehooks_test.go
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2025-07-11 22:51:46 +0200
committerGopher Robot <gobot@golang.org>2025-07-11 14:27:24 -0700
commit6ebb5f56d9ed35588970ce69cbad63508403bb8d (patch)
tree685a103fc4e5c45ced3db88db446c3787804463d /src/runtime/ehooks_test.go
parent1e48ca7020adf13e0fa4a6c2053f210b869bfa24 (diff)
downloadgo-6ebb5f56d9ed35588970ce69cbad63508403bb8d.tar.xz
runtime: gofmt after CL 643897 and CL 662455
Change-Id: I3103325ebe29509c00b129a317b5708aece575a0 Reviewed-on: https://go-review.googlesource.com/c/go/+/687715 Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Carlos Amedee <carlos@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Diffstat (limited to 'src/runtime/ehooks_test.go')
-rw-r--r--src/runtime/ehooks_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/ehooks_test.go b/src/runtime/ehooks_test.go
index c7f51740fb..380d709876 100644
--- a/src/runtime/ehooks_test.go
+++ b/src/runtime/ehooks_test.go
@@ -63,12 +63,12 @@ func TestExitHooks(t *testing.T) {
outs = strings.TrimSpace(outs)
if s.expected != "" && s.expected != outs {
t.Fatalf("failed %s: wanted %q\noutput:\n%s",
- s.mode, s.expected, outs)
+ s.mode, s.expected, outs)
}
for _, need := range s.musthave {
if !strings.Contains(outs, need) {
t.Fatalf("failed mode %s: output does not contain %q\noutput:\n%s",
- s.mode, need, outs)
+ s.mode, need, outs)
}
}
if s.expected == "" && s.musthave == nil && outs != "" {