Skip to content

Commit 45b709e

Browse files
committed
detekt fixes
1 parent 8f0da8a commit 45b709e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/jsTest/kotlin/cz/sazel/sqldelight/node/sqlite3/DriverWithLibraryTest.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ class DriverWithLibraryTest {
5757
try {
5858
transaction {
5959
playerQueries.insertFullPlayerObject(insertedPlayer)
60-
throw RuntimeException("Rollback")
60+
error("Rollback")
6161
}
6262
} catch (e: Exception) {
63-
63+
// do nothing
6464
} finally {
6565
playerQueries.selectAll().executeAsFlow().toCollection(mutableListOf()).let {
6666
assertContains(it, initialPlayer)

0 commit comments

Comments
 (0)