Skip to content

Commit fa40564

Browse files
cleaning test
1 parent 5355ac5 commit fa40564

File tree

1 file changed

+1
-7
lines changed
  • core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/api

1 file changed

+1
-7
lines changed

core/src/test/kotlin/org/jetbrains/kotlinx/dataframe/api/toDataFrame.kt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -427,18 +427,12 @@ class CreateDataFrameTests {
427427

428428
@Test
429429
fun `should convert iterables of maps representing rows to DataFrame with value column`() {
430-
val maps: Iterable<Map<String, *>> = listOf(mapOf("a" to 1, "b" to true), mapOf("c" to 2, "d" to false))
430+
val maps: Iterable<Map<String, *>> = listOf(mapOf("a" to 1, "b" to true), mapOf("c" to 2, "d" to false),)
431431
val df = maps.toDataFrame()
432432
df["a"][0] shouldBe 1
433433
df["b"][0] shouldBe true
434-
df["a"][1] shouldBe null
435-
df["b"][1] shouldBe null
436-
df["c"][0] shouldBe null
437-
df["d"][0] shouldBe null
438434
df["c"][1] shouldBe 2
439435
df["d"][1] shouldBe false
440-
df.columnsCount() shouldBe 4
441-
df.rowsCount() shouldBe 2
442436
}
443437

444438
class NoPublicPropsClass(private val a: Int, private val b: String)

0 commit comments

Comments
 (0)