summaryrefslogtreecommitdiff
path: root/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/text/grid_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/text/grid_test.go')
-rw-r--r--src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/text/grid_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/text/grid_test.go b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/text/grid_test.go
index 39008d7f274..d55000959e9 100644
--- a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/text/grid_test.go
+++ b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/text/grid_test.go
@@ -9,11 +9,13 @@ package text
import (
"bytes"
"fmt"
+ "github.com/mongodb/mongo-tools/common/testtype"
. "github.com/smartystreets/goconvey/convey"
"testing"
)
func TestUpdateWidths(t *testing.T) {
+ testtype.SkipUnlessTestType(t, testtype.UnitTestType)
Convey("Using a grid writer, the cached column width", t, func() {
gw := GridWriter{}
defaultWidths := []int{1, 2, 3, 4}
@@ -51,6 +53,7 @@ func writeData(gw *GridWriter) {
}
func TestWriteGrid(t *testing.T) {
+ testtype.SkipUnlessTestType(t, testtype.UnitTestType)
Convey("Test grid writer with no min width", t, func() {
gw := GridWriter{}
writeData(&gw)