Kotlin: Update two tests

This commit is contained in:
Tom Hvitved
2024-09-23 10:17:52 +02:00
parent 2832318711
commit bf0675e5ba
2 changed files with 2 additions and 6 deletions

View File

@@ -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"

View File

@@ -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"