mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
rm-gocheck: comment out check.TestingT
sed -E -i 's#([^*])(check\.TestingT\([^\)]+\))#\1/*\2*/#g' \
-- "integration-cli/check_test.go" "pkg/discovery/discovery_test.go" "pkg/discovery/file/file_test.go" "pkg/discovery/kv/kv_test.go" "pkg/discovery/memory/memory_test.go" "pkg/discovery/nodes/nodes_test.go"
Signed-off-by: Tibor Vass <tibor@docker.com>
(cherry picked from commit eb67bb9fb5
)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
bbcad73a27
commit
d523748a4f
6 changed files with 6 additions and 6 deletions
|
@ -73,7 +73,7 @@ func Test(t *testing.T) {
|
||||||
cli.SetTestEnvironment(testEnv)
|
cli.SetTestEnvironment(testEnv)
|
||||||
fakestorage.SetTestEnvironment(&testEnv.Execution)
|
fakestorage.SetTestEnvironment(&testEnv.Execution)
|
||||||
ienv.ProtectAll(t, &testEnv.Execution)
|
ienv.ProtectAll(t, &testEnv.Execution)
|
||||||
check.TestingT(t)
|
/*check.TestingT(t)*/
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
|
|
@ -7,7 +7,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Hook up gocheck into the "go test" runner.
|
// Hook up gocheck into the "go test" runner.
|
||||||
func Test(t *testing.T) { check.TestingT(t) }
|
func Test(t *testing.T) { /*check.TestingT(t)*/ }
|
||||||
|
|
||||||
type DiscoverySuite struct{}
|
type DiscoverySuite struct{}
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Hook up gocheck into the "go test" runner.
|
// Hook up gocheck into the "go test" runner.
|
||||||
func Test(t *testing.T) { check.TestingT(t) }
|
func Test(t *testing.T) { /*check.TestingT(t)*/ }
|
||||||
|
|
||||||
type DiscoverySuite struct{}
|
type DiscoverySuite struct{}
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Hook up gocheck into the "go test" runner.
|
// Hook up gocheck into the "go test" runner.
|
||||||
func Test(t *testing.T) { check.TestingT(t) }
|
func Test(t *testing.T) { /*check.TestingT(t)*/ }
|
||||||
|
|
||||||
type DiscoverySuite struct{}
|
type DiscoverySuite struct{}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Hook up gocheck into the "go test" runner.
|
// Hook up gocheck into the "go test" runner.
|
||||||
func Test(t *testing.T) { check.TestingT(t) }
|
func Test(t *testing.T) { /*check.TestingT(t)*/ }
|
||||||
|
|
||||||
type discoverySuite struct{}
|
type discoverySuite struct{}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
// Hook up gocheck into the "go test" runner.
|
// Hook up gocheck into the "go test" runner.
|
||||||
func Test(t *testing.T) { check.TestingT(t) }
|
func Test(t *testing.T) { /*check.TestingT(t)*/ }
|
||||||
|
|
||||||
type DiscoverySuite struct{}
|
type DiscoverySuite struct{}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue