Skip to content

Commit ee69a5d

Browse files
committed
improving except api and writing tests
1 parent 7f96d6f commit ee69a5d

File tree

2 files changed

+4
-4
lines changed
  • core
    • generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/api
    • src/test/kotlin/org/jetbrains/kotlinx/dataframe/api

2 files changed

+4
-4
lines changed

core/generated-sources/src/test/kotlin/org/jetbrains/kotlinx/dataframe/api/allExcept.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ class AllExceptTests : ColumnsSelectionDslTests() {
1717

1818
@Test
1919
fun `exceptions`() {
20-
shouldThrow<IllegalArgumentException> {
20+
shouldThrow<IllegalStateException> {
2121
dfGroup.select {
2222
name.firstName.allColsExcept("firstName"["secondName"])
2323
}
2424
}
2525

26-
shouldThrow<IllegalArgumentException> {
26+
shouldThrow<IllegalStateException> {
2727
dfGroup.select {
2828
name.firstName.allColsExcept(pathOf("name", "firstName", "secondName"))
2929
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ class AllExceptTests : ColumnsSelectionDslTests() {
1717

1818
@Test
1919
fun `exceptions`() {
20-
shouldThrow<IllegalArgumentException> {
20+
shouldThrow<IllegalStateException> {
2121
dfGroup.select {
2222
name.firstName.allColsExcept("firstName"["secondName"])
2323
}
2424
}
2525

26-
shouldThrow<IllegalArgumentException> {
26+
shouldThrow<IllegalStateException> {
2727
dfGroup.select {
2828
name.firstName.allColsExcept(pathOf("name", "firstName", "secondName"))
2929
}

0 commit comments

Comments
 (0)