aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/runtime/debug/stack_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/runtime/debug/stack_test.go')
-rw-r--r--libgo/go/runtime/debug/stack_test.go10
1 files changed, 6 insertions, 4 deletions
diff --git a/libgo/go/runtime/debug/stack_test.go b/libgo/go/runtime/debug/stack_test.go
index 5f9f60c..67931d1 100644
--- a/libgo/go/runtime/debug/stack_test.go
+++ b/libgo/go/runtime/debug/stack_test.go
@@ -50,10 +50,12 @@ func TestStack(t *testing.T) {
check(t, lines[n], line)
n++
}
- frame("stack_test.go", "\tmethod.N15_runtime_debug.T: return Stack()")
- frame("stack_test.go", "\tmethod.N15_runtime_debug.T: return t.ptrmethod()")
- frame("stack_test.go", "\tTestStack: b := T(0).method()")
- frame("testing/testing.go", "")
+ n++
+ frame("stack.go", "runtime_debug.Stack")
+ frame("stack_test.go", "ptrmethod")
+ frame("stack_test.go", "method")
+ frame("stack_test.go", "runtime_debug_test.TestStack")
+ frame("testing.go", "")
}
func check(t *testing.T, line, has string) {