-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
Copy pathdep_test.go
31 lines (27 loc) · 1.02 KB
/
dep_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright 2021 The Cockroach Authors.
//
// Use of this software is governed by the Business Source License
// included in the file licenses/BSL.txt.
//
// As of the Change Date specified in that file, in accordance with
// the Business Source License, use of this software will be governed
// by the Apache License, Version 2.0, included in the file
// licenses/APL.txt.
package colexecspan
import (
"testing"
"github.com/cockroachdb/cockroach/pkg/testutils/buildutil"
)
func TestNoLinkForbidden(t *testing.T) {
buildutil.VerifyNoImports(t,
"github.com/cockroachdb/cockroach/pkg/sql/colexec/colexecwindow", true,
[]string{
"github.com/cockroachdb/cockroach/pkg/sql/colexec",
"github.com/cockroachdb/cockroach/pkg/sql/colexec/colexecagg",
"github.com/cockroachdb/cockroach/pkg/sql/colexec/colexechash",
"github.com/cockroachdb/cockroach/pkg/sql/colexec/colexecjoin",
"github.com/cockroachdb/cockroach/pkg/sql/colexec/colexecproj",
"github.com/cockroachdb/cockroach/pkg/sql/colexec/colexecsel",
}, nil,
)
}