Merge pull request #484 from jfrazelle/davids-patch
Do not import testing in the main binary.
This commit is contained in:
commit
bc565c2d29
|
@ -1,7 +1,5 @@
|
|||
package sandbox
|
||||
|
||||
import "testing"
|
||||
|
||||
// GenerateKey generates a sandbox key based on the passed
|
||||
// container id.
|
||||
func GenerateKey(containerID string) string {
|
||||
|
@ -28,8 +26,3 @@ func GC() {
|
|||
func InitOSContext() func() {
|
||||
return func() {}
|
||||
}
|
||||
|
||||
// SetupTestOSContext sets up a separate test OS context in which tests will be executed.
|
||||
func SetupTestOSContext(t *testing.T) func() {
|
||||
return func() {}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
package sandbox
|
||||
|
||||
import "testing"
|
||||
|
||||
// GenerateKey generates a sandbox key based on the passed
|
||||
// container id.
|
||||
func GenerateKey(containerID string) string {
|
||||
|
@ -28,8 +26,3 @@ func GC() {
|
|||
func InitOSContext() func() {
|
||||
return func() {}
|
||||
}
|
||||
|
||||
// SetupTestOSContext sets up a separate test OS context in which tests will be executed.
|
||||
func SetupTestOSContext(t *testing.T) func() {
|
||||
return func() {}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
package sandbox
|
||||
|
||||
import "testing"
|
||||
|
||||
// SetupTestOSContext sets up a separate test OS context in which tests will be executed.
|
||||
func SetupTestOSContext(t *testing.T) func() {
|
||||
return func() {}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
package sandbox
|
||||
|
||||
import "testing"
|
||||
|
||||
// SetupTestOSContext sets up a separate test OS context in which tests will be executed.
|
||||
func SetupTestOSContext(t *testing.T) func() {
|
||||
return func() {}
|
||||
}
|
Loading…
Reference in New Issue