Expand most kotlinx.serialization tests on JS backend

to enhance and increase test coverage of the plugin.
This commit is contained in:
Leonid Startsev
2024-01-03 18:04:11 +01:00
committed by Space Team
parent 60080e8bb8
commit fba2f5ea4e
26 changed files with 363 additions and 49 deletions
@@ -17,9 +17,6 @@ open class OpenBody {
@Serializable
abstract class AbstractConstructor(var optional: String = "foo")
// TODO: test fails for K2 if places of 'color' and 'name' are swapped
// because of https://youtrack.jetbrains.com/issue/KT-54792 (KT-20980)
// and serialization proto extension is not available in K2.
@Serializable
open class Vehicle {
var color: String? = null
@@ -87,4 +84,4 @@ fun box(): String {
return e.message!!
}
}
}