diff options
| author | Rob Pike <r@golang.org> | 2011-03-26 11:25:22 -0700 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2011-03-26 11:25:22 -0700 |
| commit | 7f9acb53cb15ecea79dd6ed5ec117429b5919abb (patch) | |
| tree | 5f45fb4d53eda208f5936c91ec617a0f2f5d0f37 /src/pkg/container/vector | |
| parent | d607cb289d8a3c762a5d760274895129d6cc2dd0 (diff) | |
| download | go-7f9acb53cb15ecea79dd6ed5ec117429b5919abb.tar.xz | |
testing: shorten some more tests
R=rsc
CC=golang-dev
https://golang.org/cl/4314044
Diffstat (limited to 'src/pkg/container/vector')
| -rw-r--r-- | src/pkg/container/vector/numbers_test.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pkg/container/vector/numbers_test.go b/src/pkg/container/vector/numbers_test.go index d540ace050..b83b0bfeef 100644 --- a/src/pkg/container/vector/numbers_test.go +++ b/src/pkg/container/vector/numbers_test.go @@ -33,6 +33,9 @@ func s(n uint64) string { func TestVectorNums(t *testing.T) { + if testing.Short() { + return + } var v Vector c := int(0) runtime.GC() @@ -51,6 +54,9 @@ func TestVectorNums(t *testing.T) { func TestIntVectorNums(t *testing.T) { + if testing.Short() { + return + } var v IntVector c := int(0) runtime.GC() @@ -69,6 +75,9 @@ func TestIntVectorNums(t *testing.T) { func TestStringVectorNums(t *testing.T) { + if testing.Short() { + return + } var v StringVector c := "" runtime.GC() |
