diff options
| author | Ian Lance Taylor <iant@golang.org> | 2025-01-13 10:24:50 -0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-02-03 09:55:31 -0800 |
| commit | 77f5ecef3a4f30644eadb922a8ba5deb76fa8e07 (patch) | |
| tree | 9d03d2b5b14e88aa757d20c4721bc5fde6bfbc1b /src/runtime | |
| parent | 66e6f5c9202ae98c3e1d3830972cd13559fb28f2 (diff) | |
| download | go-77f5ecef3a4f30644eadb922a8ba5deb76fa8e07.tar.xz | |
all: run gofmt
Change-Id: I0af1903ed1e4f2bf4ea273847b024520c577ef6d
Reviewed-on: https://go-review.googlesource.com/c/go/+/642496
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/traceback_system_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/traceback_system_test.go b/src/runtime/traceback_system_test.go index af20f54a09..3a3f33bbd4 100644 --- a/src/runtime/traceback_system_test.go +++ b/src/runtime/traceback_system_test.go @@ -129,7 +129,7 @@ func TestTracebackSystem(t *testing.T) { t.Skip("Can't read source code for this file on Android") } - tests := []struct{ + tests := []struct { name string want string }{ @@ -326,7 +326,7 @@ func parseStackPCs(crash string) ([]uintptr, error) { continue } - pc = pc-parentSentinel+childSentinel + pc = pc - parentSentinel + childSentinel // If the previous frame was sigpanic, then this frame // was a trap (e.g., SIGSEGV). |
