mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Update test data
This commit is contained in:
@@ -1,13 +1,4 @@
|
||||
private import codeql.rust.elements
|
||||
|
||||
cached
|
||||
predicate toBeTested(Element e) {
|
||||
exists(File f |
|
||||
f.getName().matches("%rust/ql/test%") and
|
||||
(
|
||||
e = f
|
||||
or
|
||||
e.(Locatable).getLocation().getFile() = f
|
||||
)
|
||||
)
|
||||
}
|
||||
predicate toBeTested(Element e) { any() }
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
| file://:0:0:0:0 | | UnknownFile | getName: | |
|
||||
| lib.rs:0:0:0:0 | lib.rs | DbFile | getName: | lib.rs |
|
||||
| test.rs:0:0:0:0 | test.rs | DbFile | getName: | test.rs |
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
| file://:0:0:0:0 | GenericArgs |
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
| file://:0:0:0:0 | Module | getNumberOfDeclarations: | 0 |
|
||||
| file://:0:0:0:0 | Module | getNumberOfDeclarations: | 0 |
|
||||
| file://:0:0:0:0 | Module | getNumberOfDeclarations: | 0 |
|
||||
| file://:0:0:0:0 | Module | getNumberOfDeclarations: | 0 |
|
||||
| file://:0:0:0:0 | Module | getNumberOfDeclarations: | 0 |
|
||||
| file://:0:0:0:0 | Module | getNumberOfDeclarations: | 0 |
|
||||
| file://:0:0:0:0 | Module | getNumberOfDeclarations: | 1 |
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
| file://:0:0:0:0 | Module | 0 | gen_module.rs:6:5:6:19 | baz |
|
||||
|
||||
Reference in New Issue
Block a user