aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/container/vector
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2011-03-26 11:25:22 -0700
committerRob Pike <r@golang.org>2011-03-26 11:25:22 -0700
commit7f9acb53cb15ecea79dd6ed5ec117429b5919abb (patch)
tree5f45fb4d53eda208f5936c91ec617a0f2f5d0f37 /src/pkg/container/vector
parentd607cb289d8a3c762a5d760274895129d6cc2dd0 (diff)
downloadgo-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.go9
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()