Enable more bytecode-ready tests

This commit is contained in:
Sergey Chernov 2026-01-29 02:48:55 +03:00
parent 70d05f7987
commit e2a8de97f5
7 changed files with 3 additions and 7 deletions

View File

@ -27,7 +27,7 @@ import kotlin.test.assertEquals
import kotlin.test.assertIs
import kotlin.test.assertTrue
@Ignore("TODO(bytecode-only): uses fallback")
@Ignore("TODO(bytecode-only): uses fallback (try/catch)")
class EmbeddingExceptionTest {
@Test

View File

@ -26,7 +26,7 @@ import kotlin.test.Test
import kotlin.test.assertFails
import kotlin.test.assertTrue
@Ignore("TODO(bytecode-only): uses fallback")
@Ignore("TODO(bytecode-only): uses fallback (cast failure message)")
class MIDiagnosticsTest {
@Test

View File

@ -24,7 +24,6 @@ import net.sergeych.lyng.eval
import kotlin.test.Ignore
import kotlin.test.Test
@Ignore("TODO(bytecode-only): uses fallback")
class ParallelLocalScopeTest {
@Test

View File

@ -37,7 +37,7 @@ import kotlin.test.Test
*
*/
@Ignore("TODO(bytecode-only): uses fallback")
@Ignore("TODO(bytecode-only): uses fallback (MI tests)")
class TestInheritance {
@Test

View File

@ -26,7 +26,6 @@ import kotlin.test.Test
import kotlin.test.assertEquals
import kotlin.test.assertTrue
@Ignore("TODO(bytecode-only): uses fallback")
class PicInvalidationJvmTest {
@Test
fun fieldPicInvalidatesOnClassLayoutChange() = runBlocking {

View File

@ -24,7 +24,6 @@ import kotlin.test.Ignore
import kotlin.test.Test
import kotlin.test.assertEquals
@Ignore("TODO(bytecode-only): uses fallback")
class ScriptSubsetJvmTest {
private suspend fun evalInt(code: String): Long = (Scope().eval(code) as ObjInt).value
private suspend fun evalList(code: String): List<Any?> = (Scope().eval(code) as ObjList).list.map { (it as? ObjInt)?.value ?: it }

View File

@ -24,7 +24,6 @@ import kotlin.test.assertFalse
import kotlin.test.assertNotNull
import kotlin.test.assertTrue
@Ignore("TODO(bytecode-only): uses fallback")
class CompletionEngineLightTest {
private fun names(items: List<CompletionItem>): List<String> = items.map { it.name }