You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/commonTest/src/kotlinx/serialization/modules/ModuleBuildersTest.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -227,7 +227,7 @@ class ModuleBuildersTest {
227
227
subclass(C2::class)
228
228
}
229
229
}
230
-
val classNameMsg =if (currentPlatform ==Platform.JS|| currentPlatform ==Platform.WASM) "class Any"else"class kotlin.Any"
230
+
val classNameMsg =if (currentPlatform ==Platform.JS) "class Any"else"class kotlin.Any"
231
231
assertFailsWithMessage<IllegalArgumentException>("Multiple polymorphic serializers in a scope of '$classNameMsg' have the same serial name 'C'") { c1 + c2 }
232
232
val module = c1 overwriteWith c2
233
233
// C should not be registered at all, C2 should be registered both under "C" and C2::class
0 commit comments