Skip to content

Commit eb67bb9

Browse files
author
Tibor Vass
committed
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>
1 parent 81d2a0c commit eb67bb9

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

integration-cli/check_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func Test(t *testing.T) {
7373
cli.SetTestEnvironment(testEnv)
7474
fakestorage.SetTestEnvironment(&testEnv.Execution)
7575
ienv.ProtectAll(t, &testEnv.Execution)
76-
check.TestingT(t)
76+
/*check.TestingT(t)*/
7777
}
7878

7979
func init() {

pkg/discovery/discovery_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
)
88

99
// Hook up gocheck into the "go test" runner.
10-
func Test(t *testing.T) { check.TestingT(t) }
10+
func Test(t *testing.T) { /*check.TestingT(t)*/ }
1111

1212
type DiscoverySuite struct{}
1313

pkg/discovery/file/file_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
)
1212

1313
// Hook up gocheck into the "go test" runner.
14-
func Test(t *testing.T) { check.TestingT(t) }
14+
func Test(t *testing.T) { /*check.TestingT(t)*/ }
1515

1616
type DiscoverySuite struct{}
1717

pkg/discovery/kv/kv_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
)
1616

1717
// Hook up gocheck into the "go test" runner.
18-
func Test(t *testing.T) { check.TestingT(t) }
18+
func Test(t *testing.T) { /*check.TestingT(t)*/ }
1919

2020
type DiscoverySuite struct{}
2121

pkg/discovery/memory/memory_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
)
99

1010
// Hook up gocheck into the "go test" runner.
11-
func Test(t *testing.T) { check.TestingT(t) }
11+
func Test(t *testing.T) { /*check.TestingT(t)*/ }
1212

1313
type discoverySuite struct{}
1414

pkg/discovery/nodes/nodes_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
)
1010

1111
// Hook up gocheck into the "go test" runner.
12-
func Test(t *testing.T) { check.TestingT(t) }
12+
func Test(t *testing.T) { /*check.TestingT(t)*/ }
1313

1414
type DiscoverySuite struct{}
1515

0 commit comments

Comments
 (0)