Debian Codegraph @

go/analysis/passes/directive/directive_test.go

raw symbols SCIP
1 // Copyright 2023 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
4
5 package directive_testscip-go gomod golang.org/x/tools . `golang.org/x/tools/go/analysis/passes/directive_test`/
6
7 import (
8 "testingscip-go gomod github.com/golang/go/src go1.25.0 testing/"
9
10 "golang.org/x/tools/go/analysis/analysistestscip-go gomod golang.org/x/tools . `golang.org/x/tools/go/analysis/analysistest`/"
11 "golang.org/x/tools/go/analysis/passes/directivescip-go gomod golang.org/x/tools . `golang.org/x/tools/go/analysis/passes/directive`/"
12 )
13
14 func Testscip-go gomod golang.org/x/tools . `golang.org/x/tools/go/analysis/passes/directive_test`/Test().(t *testingscip-go gomod github.com/golang/go/src go1.25.0 testing/.Tscip-go gomod github.com/golang/go/src go1.25.0 testing/T#) {
15 // This test has a dedicated hack in the analysistest package:
16 // Because it cares about IgnoredFiles, which most analyzers
17 // ignore, the test framework will consider expectations in
18 // ignore files too, but only for this analyzer.
19 analysistestscip-go gomod golang.org/x/tools . `golang.org/x/tools/go/analysis/analysistest`/.Runscip-go gomod golang.org/x/tools . `golang.org/x/tools/go/analysis/analysistest`/Run().(t, analysistestscip-go gomod golang.org/x/tools . `golang.org/x/tools/go/analysis/analysistest`/.TestDatascip-go gomod golang.org/x/tools . `golang.org/x/tools/go/analysis/analysistest`/TestData.(), directivescip-go gomod golang.org/x/tools . `golang.org/x/tools/go/analysis/passes/directive`/.Analyzerscip-go gomod golang.org/x/tools . `golang.org/x/tools/go/analysis/passes/directive`/Analyzer., "a")
20 }