From 77f5ecef3a4f30644eadb922a8ba5deb76fa8e07 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 13 Jan 2025 10:24:50 -0800 Subject: all: run gofmt Change-Id: I0af1903ed1e4f2bf4ea273847b024520c577ef6d Reviewed-on: https://go-review.googlesource.com/c/go/+/642496 Reviewed-by: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI Reviewed-by: Dmitri Shuralyov Reviewed-by: Cherry Mui Auto-Submit: Ian Lance Taylor --- src/runtime/traceback_system_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/runtime') 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). -- cgit v1.3-5-g9baa