aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/debug/stack_test.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-07-27 17:56:13 -0400
committerRuss Cox <rsc@golang.org>2011-07-27 17:56:13 -0400
commit1bd4b6371a6ca08dd08a543bda9ffbe5992b52ee (patch)
tree00d06e50725e4b7bda246a199d8a6fe4807cf391 /src/pkg/runtime/debug/stack_test.go
parent112267d55e8a6c3733dd55889d26485008cd81d7 (diff)
downloadgo-1bd4b6371a6ca08dd08a543bda9ffbe5992b52ee.tar.xz
gc: use more Go-like names for methods
Fixes #991. R=ken2 CC=golang-dev https://golang.org/cl/4819049
Diffstat (limited to 'src/pkg/runtime/debug/stack_test.go')
-rw-r--r--src/pkg/runtime/debug/stack_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg/runtime/debug/stack_test.go b/src/pkg/runtime/debug/stack_test.go
index 4aeea13ffd..94293bb934 100644
--- a/src/pkg/runtime/debug/stack_test.go
+++ b/src/pkg/runtime/debug/stack_test.go
@@ -23,7 +23,7 @@ func (t T) method() []byte {
Don't worry much about the base levels, but check the ones in our own package.
/Users/r/go/src/pkg/runtime/debug/stack_test.go:15 (0x13878)
- *T.ptrmethod: return Stack()
+ (*T).ptrmethod: return Stack()
/Users/r/go/src/pkg/runtime/debug/stack_test.go:18 (0x138dd)
T.method: return t.ptrmethod()
/Users/r/go/src/pkg/runtime/debug/stack_test.go:23 (0x13920)
@@ -40,7 +40,7 @@ func TestStack(t *testing.T) {
t.Fatal("too few lines")
}
check(t, lines[0], "src/pkg/runtime/debug/stack_test.go")
- check(t, lines[1], "\t*T.ptrmethod: return Stack()")
+ check(t, lines[1], "\t(*T).ptrmethod: return Stack()")
check(t, lines[2], "src/pkg/runtime/debug/stack_test.go")
check(t, lines[3], "\tT.method: return t.ptrmethod()")
check(t, lines[4], "src/pkg/runtime/debug/stack_test.go")