summaryrefslogtreecommitdiff
path: root/src/mongo/gotools/src/github.com/mongodb/mongo-tools/vendor/github.com/3rf/mongo-lint/testdata/blank-import-lib_test.go
blob: 0307985f86cee9d2b080c1506ecdce58703df8ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Test that blank imports in test packages are not flagged.
// OK

// Package foo ...
package foo

// These are essentially the same imports as in the "library" package, but
// these should not trigger the warning because this is a test.

import _ "encoding/json"

import (
	"fmt"
	"testing"

	_ "os"

	_ "net/http"
	_ "path"
)