aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
authorBrad Fitzpatrick <bradfitz@golang.org>2014-12-16 17:14:25 +1100
committerBrad Fitzpatrick <bradfitz@golang.org>2014-12-16 06:16:00 +0000
commitfccd9428032dca77e7fc511c6698353c0b3d35a1 (patch)
tree89fe818c2df5f14e440a59348207d53eb932d550 /src/runtime/debug
parent5308c6d9325735ab4e69620e99aaa8d119e02941 (diff)
downloadgo-fccd9428032dca77e7fc511c6698353c0b3d35a1.tar.xz
runtime: gofmt
Fixes #9339 Change-Id: I22faf2593cb73f42612c2c2bfe38de001fb2746b Reviewed-on: https://go-review.googlesource.com/1630 Reviewed-by: Andrew Gerrand <adg@golang.org>
Diffstat (limited to 'src/runtime/debug')
-rw-r--r--src/runtime/debug/heapdump_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/runtime/debug/heapdump_test.go b/src/runtime/debug/heapdump_test.go
index cf01f52015..cb2f2f0679 100644
--- a/src/runtime/debug/heapdump_test.go
+++ b/src/runtime/debug/heapdump_test.go
@@ -32,13 +32,12 @@ func TestWriteHeapDumpNonempty(t *testing.T) {
}
}
-
type Obj struct {
- x, y int
+ x, y int
}
func objfin(x *Obj) {
- println("finalized", x)
+ println("finalized", x)
}
func TestWriteHeapDumpFinalizers(t *testing.T) {