mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
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
This commit is contained in:
parent
d251fc39f2
commit
d137a2cb56
13 changed files with 69 additions and 73 deletions
|
|
@ -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"
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue