summaryrefslogtreecommitdiff
path: root/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/json/tags_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/json/tags_test.go')
-rw-r--r--src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/json/tags_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/json/tags_test.go b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/json/tags_test.go
index 24036587f0a..bf2a782c4ab 100644
--- a/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/json/tags_test.go
+++ b/src/mongo/gotools/src/github.com/mongodb/mongo-tools/common/json/tags_test.go
@@ -10,10 +10,12 @@
package json
import (
+ "github.com/mongodb/mongo-tools/common/testtype"
"testing"
)
func TestTagParsing(t *testing.T) {
+ testtype.SkipUnlessTestType(t, testtype.UnitTestType)
name, opts := parseTag("field,foobar,foo")
if name != "field" {
t.Fatalf("name = %q, want field", name)