[Serialization] Migrate all tests to new test infrastructure

This commit is contained in:
Dmitriy Novozhilov
2022-08-24 17:33:39 +03:00
committed by teamcity
parent 4dd7437df1
commit a2ffba275c
47 changed files with 388 additions and 511 deletions
@@ -1,4 +1,3 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER,-UNUSED_VARIABLE
// WITH_STDLIB
// FILE: test.kt
import kotlinx.serialization.*
@@ -15,4 +14,4 @@ class NopeNullableSerializer: KSerializer<Nope?> {
}
@Serializable
class Foo(val foo: <!SERIALIZER_NULLABILITY_INCOMPATIBLE("NopeNullableSerializer", "Nope")!>Nope<!>)
class Foo(val foo: <!SERIALIZER_NULLABILITY_INCOMPATIBLE("NopeNullableSerializer; Nope")!>Nope<!>)