Skip to content

Commit 7687876

Browse files
committed
tiny test expansion
1 parent ad2f419 commit 7687876

File tree

1 file changed

+13
-1
lines changed
  • dataframe-json/src/test/kotlin/org/jetbrains/kotlinx/dataframe/io

1 file changed

+13
-1
lines changed

dataframe-json/src/test/kotlin/org/jetbrains/kotlinx/dataframe/io/ToonTests.kt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,26 @@ class ToonTests {
154154
// 1,
155155
// [1],
156156
// {"a": 1},
157-
// [{"b": 2}]
157+
// [{"b": 2}],
158+
// { "c": [{ "d": 3 }, { "d": 4 }], "d": 7 }
158159
// ]
159160
ToonArray(
160161
listOf(
161162
ToonPrimitive(1),
162163
ToonArray(listOf(ToonPrimitive(1))),
163164
ToonObject(mapOf("a" to ToonPrimitive(1))),
164165
ToonArray(listOf(ToonObject(mapOf("b" to ToonPrimitive(2))))),
166+
ToonObject(
167+
mapOf(
168+
"c" to ToonArray(
169+
listOf(
170+
ToonObject(mapOf("d" to ToonPrimitive(3), "e" to ToonPrimitive(5))),
171+
ToonObject(mapOf("d" to ToonPrimitive(4), "e" to ToonPrimitive(6))),
172+
),
173+
),
174+
"d" to ToonPrimitive(7),
175+
),
176+
),
165177
),
166178
).let {
167179
println(it.render())

0 commit comments

Comments
 (0)