mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Fix test file
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
| interface { Exported func() ; notExported func() } | func() | Exported |
|
||||
| interface { Exported func() ; notExported func() } | func() | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1.notExported |
|
||||
| interface { Exported func() ; notExported func() } | func() | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.notExported |
|
||||
|
||||
@@ -53,3 +53,5 @@
|
||||
| pkg1/tst.go:3:6:3:6 | T | half | func() Foo |
|
||||
| pkg1/tst.go:14:6:14:7 | T3 | half | func() Foo |
|
||||
| pkg1/tst.go:19:6:19:7 | T4 | half | func() Foo |
|
||||
| pkg2/tst.go:11:6:11:24 | MixedExportedAndNot | Exported | func() |
|
||||
| pkg2/tst.go:11:6:11:24 | MixedExportedAndNot | notExported | func() |
|
||||
|
||||
@@ -59,3 +59,5 @@
|
||||
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1.T | half |
|
||||
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1.T3 | half |
|
||||
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1.T4 | half |
|
||||
| pkg2/tst.go:12:9:12:16 | Exported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.MixedExportedAndNot | Exported |
|
||||
| pkg2/tst.go:13:9:13:19 | notExported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2.MixedExportedAndNot | notExported |
|
||||
|
||||
@@ -59,3 +59,5 @@
|
||||
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1 | T | half |
|
||||
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1 | T3 | half |
|
||||
| pkg1/tst.go:33:16:33:19 | half | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg1 | T4 | half |
|
||||
| pkg2/tst.go:12:9:12:16 | Exported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 | MixedExportedAndNot | Exported |
|
||||
| pkg2/tst.go:13:9:13:19 | notExported | github.com/github/codeql-go/ql/test/library-tests/semmle/go/Types/pkg2 | MixedExportedAndNot | notExported |
|
||||
|
||||
@@ -25,7 +25,9 @@
|
||||
| Foo | half | pkg1/tst.go:33:16:33:19 | half |
|
||||
| GenericInterface | GetT | generic.go:33:2:33:5 | GetT |
|
||||
| MixedExportedAndNot | Exported | pkg1/interfaces.go:36:2:36:9 | Exported |
|
||||
| MixedExportedAndNot | Exported | pkg2/tst.go:12:9:12:16 | Exported |
|
||||
| MixedExportedAndNot | notExported | pkg1/interfaces.go:37:2:37:12 | notExported |
|
||||
| MixedExportedAndNot | notExported | pkg2/tst.go:13:9:13:19 | notExported |
|
||||
| MyInterface | clone | generic.go:48:2:48:6 | clone |
|
||||
| MyInterface | dummy1 | generic.go:49:2:49:7 | dummy1 |
|
||||
| MyInterface | dummy2 | generic.go:50:2:50:7 | dummy2 |
|
||||
|
||||
@@ -8,7 +8,7 @@ type G struct {
|
||||
g int
|
||||
}
|
||||
|
||||
type MixedExportedAndNot {
|
||||
type MixedExportedAndNot interface {
|
||||
Exported()
|
||||
notExported()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user