Skip to content

Commit

Permalink
detekt fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
wojta committed Jan 13, 2025
1 parent 8f0da8a commit 45b709e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ class DriverWithLibraryTest {
try {
transaction {
playerQueries.insertFullPlayerObject(insertedPlayer)
throw RuntimeException("Rollback")
error("Rollback")
}
} catch (e: Exception) {

// do nothing
} finally {
playerQueries.selectAll().executeAsFlow().toCollection(mutableListOf()).let {
assertContains(it, initialPlayer)
Expand Down

0 comments on commit 45b709e

Please sign in to comment.