mirror of
https://github.com/github/codeql.git
synced 2026-04-23 07:45:17 +02:00
tests for NumberOfFiles* summary queries
This commit is contained in:
@@ -0,0 +1 @@
|
||||
| 2 |
|
||||
@@ -0,0 +1 @@
|
||||
queries/summary/NumberOfFilesExtractedSuccessfully.ql
|
||||
@@ -0,0 +1 @@
|
||||
| 1 |
|
||||
@@ -0,0 +1 @@
|
||||
queries/summary/NumberOfFilesExtractedWithErrors.ql
|
||||
9
ql/test/query-tests/diagnostics/src/foo.rb
Normal file
9
ql/test/query-tests/diagnostics/src/foo.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
# comment
|
||||
|
||||
def hello
|
||||
p "hello world"
|
||||
end
|
||||
|
||||
# another one
|
||||
|
||||
hello
|
||||
5
ql/test/query-tests/diagnostics/src/not_ruby.rb
Executable file
5
ql/test/query-tests/diagnostics/src/not_ruby.rb
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This is a bash script
|
||||
export FOO="$(whereis ls)"
|
||||
exec "$FOO" "$(dirname "$0")"
|
||||
9
ql/test/query-tests/diagnostics/src/vendor/cache/lib.rb
vendored
Normal file
9
ql/test/query-tests/diagnostics/src/vendor/cache/lib.rb
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
# comment
|
||||
|
||||
def hello
|
||||
p "hello lib"
|
||||
end
|
||||
|
||||
# another one
|
||||
|
||||
hello
|
||||
Reference in New Issue
Block a user