aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/debug
diff options
context:
space:
mode:
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) {