aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/stack_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/stack_test.go')
-rw-r--r--src/runtime/stack_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/stack_test.go b/src/runtime/stack_test.go
index a7c6fc8e5a..eb8de47e86 100644
--- a/src/runtime/stack_test.go
+++ b/src/runtime/stack_test.go
@@ -290,7 +290,7 @@ func setBig(p *int, x int, b bigBuf) {
func TestDeferPtrsPanic(t *testing.T) {
for i := 0; i < 100; i++ {
c := make(chan int, 1)
- go testDeferPtrsGoexit(c, i)
+ go testDeferPtrsPanic(c, i)
if n := <-c; n != 42 {
t.Fatalf("defer's stack references were not adjusted appropriately (i=%d n=%d)", i, n)
}