diff options
Diffstat (limited to 'src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongoimport/typed_fields_test.go')
-rw-r--r-- | src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongoimport/typed_fields_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongoimport/typed_fields_test.go b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongoimport/typed_fields_test.go index d8b43829ff0..37294336933 100644 --- a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongoimport/typed_fields_test.go +++ b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/mongoimport/typed_fields_test.go @@ -24,7 +24,7 @@ func init() { } func TestTypedHeaderParser(t *testing.T) { - testtype.VerifyTestType(t, testtype.UnitTestType) + testtype.SkipUnlessTestType(t, testtype.UnitTestType) Convey("Using 'zip.string(),number.double(),foo.auto()'", t, func() { var headers = []string{"zip.string()", "number.double()", "foo.auto()", `bar.date(January 2\, \(2006\))`} @@ -82,6 +82,7 @@ func TestTypedHeaderParser(t *testing.T) { } func TestAutoHeaderParser(t *testing.T) { + testtype.SkipUnlessTestType(t, testtype.UnitTestType) Convey("Using 'zip,number'", t, func() { var headers = []string{"zip", "number", "foo"} var colSpecs = ParseAutoHeaders(headers) @@ -94,7 +95,7 @@ func TestAutoHeaderParser(t *testing.T) { } func TestFieldParsers(t *testing.T) { - testtype.VerifyTestType(t, testtype.UnitTestType) + testtype.SkipUnlessTestType(t, testtype.UnitTestType) Convey("Using FieldAutoParser", t, func() { var p, _ = NewFieldParser(ctAuto, "") |