Fix scripting test with cycle detection
This commit is contained in:
committed by
Space Team
parent
cb3af906cd
commit
afd7186680
+2
-1
@@ -156,7 +156,8 @@ class MainKtsTest {
|
||||
fun testCyclicImportError() {
|
||||
val res = evalFile(File("$TEST_DATA_ROOT/import-cycle-1.main.kts"))
|
||||
// TODO: the second error is due to the late cycle detection, see TODO in makeCompiledScript$makeOtherScripts
|
||||
assertFailedAny("Unable to handle recursive script dependencies", "is already bound", res = res)
|
||||
// TODO: third error is due to the early IR backend error, consider processing it in makeCompiledScript$makeOtherScripts
|
||||
assertFailedAny("Unable to handle recursive script dependencies", "is already bound", "Duplicate JVM class name", res = res)
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user