Skip to content

Commit 37c177d

Browse files
committed
[Wasm] fix tests for className wasm (KT-69621)
1 parent 9e970e1 commit 37c177d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/commonTest/src/kotlinx/serialization/modules/ModuleBuildersTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class ModuleBuildersTest {
227227
subclass(C2::class)
228228
}
229229
}
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"
231231
assertFailsWithMessage<IllegalArgumentException>("Multiple polymorphic serializers in a scope of '$classNameMsg' have the same serial name 'C'") { c1 + c2 }
232232
val module = c1 overwriteWith c2
233233
// C should not be registered at all, C2 should be registered both under "C" and C2::class

0 commit comments

Comments
 (0)