Skip to content

Commit 8212dc0

Browse files
committed
Fix tests
1 parent 69b21c9 commit 8212dc0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

mirai-core/src/commonTest/kotlin/testFramework/codegen/test/visitors/ValueDescAnalyzerTest.kt

+6-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ class ValueDescAnalyzerTest {
6868
analyzeAndRender(arrayOf("1"))
6969
)
7070
assertEquals(
71-
"arrayOf(arrayOf(1))",
71+
"""
72+
arrayOf(
73+
arrayOf(1),
74+
)
75+
""".trimIndent(),
7276
analyzeAndRender(arrayOf(arrayOf(1)))
7377
)
7478
}
@@ -122,7 +126,7 @@ class ValueDescAnalyzerTest {
122126
assertEquals(
123127
"""
124128
${TestNesting::class.qualifiedName}(
125-
nested=${TestNesting.Nested::class}(
129+
nested=${TestNesting.Nested::class.qualifiedName}(
126130
value="test",
127131
),
128132
)

0 commit comments

Comments
 (0)