mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Kotlin: Update two tests
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import java
|
||||
|
||||
private predicate filterFile(Top t) {
|
||||
t.getFile().getRelativePath().matches("%/local_anonymous.kt")
|
||||
}
|
||||
private predicate filterFile(Top t) { t.getFile().getRelativePath().matches("%local_anonymous.kt") }
|
||||
|
||||
private string isAnonymousType(Type t) {
|
||||
if t instanceof AnonymousClass then result = "anonymous" else result = "not anonymous"
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
import java
|
||||
|
||||
private predicate filterFile(Top t) {
|
||||
t.getFile().getRelativePath().matches("%/local_anonymous.kt")
|
||||
}
|
||||
private predicate filterFile(Top t) { t.getFile().getRelativePath().matches("%local_anonymous.kt") }
|
||||
|
||||
private string isAnonymousType(Type t) {
|
||||
if t instanceof AnonymousClass then result = "anonymous" else result = "not anonymous"
|
||||
|
||||
Reference in New Issue
Block a user