mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Kotlin: Move tests from test/kotlin to test-kotlin1
Matches test-kotlin2
This commit is contained in:
10
java/ql/test-kotlin1/library-tests/arrays/arrayIterators.ql
Normal file
10
java/ql/test-kotlin1/library-tests/arrays/arrayIterators.ql
Normal file
@@ -0,0 +1,10 @@
|
||||
import java
|
||||
|
||||
query predicate iterator(MethodCall ma, string mn, string t) {
|
||||
exists(Method m |
|
||||
ma.getMethod() = m and
|
||||
m.getName() = "iterator" and
|
||||
mn = m.getSignature() and
|
||||
t = ma.getMethod().getDeclaringType().getQualifiedName()
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user