aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/debug/stack_test.go
diff options
context:
space:
mode:
authorRobin Eklind <r.eklind.87@gmail.com>2013-02-19 10:02:01 -0500
committerRuss Cox <rsc@golang.org>2013-02-19 10:02:01 -0500
commitd137a2cb564c50ba104b5699c2a34ad393976564 (patch)
tree1cc26ac242209532a929b0ef0026c2cdbd0144a3 /src/pkg/runtime/debug/stack_test.go
parentd251fc39f2b3fc27a526a02dfc39cb750746ed7f (diff)
downloadgo-d137a2cb564c50ba104b5699c2a34ad393976564.tar.xz
src: use internal tests if possible
If a test can be placed in the same package ("internal"), it is placed there. This facilitates testing of package-private details. Because of dependency cycles some packages cannot be tested by internal tests. R=golang-dev, rsc, mikioh.mikioh CC=golang-dev, r https://golang.org/cl/7323044
Diffstat (limited to 'src/pkg/runtime/debug/stack_test.go')
-rw-r--r--src/pkg/runtime/debug/stack_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pkg/runtime/debug/stack_test.go b/src/pkg/runtime/debug/stack_test.go
index 8daa3b2424..bbd662618f 100644
--- a/src/pkg/runtime/debug/stack_test.go
+++ b/src/pkg/runtime/debug/stack_test.go
@@ -2,10 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-package debug_test
+package debug
import (
- . "runtime/debug"
"strings"
"testing"
)