We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f0da8a commit 45b709eCopy full SHA for 45b709e
src/jsTest/kotlin/cz/sazel/sqldelight/node/sqlite3/DriverWithLibraryTest.kt
@@ -57,10 +57,10 @@ class DriverWithLibraryTest {
57
try {
58
transaction {
59
playerQueries.insertFullPlayerObject(insertedPlayer)
60
- throw RuntimeException("Rollback")
+ error("Rollback")
61
}
62
} catch (e: Exception) {
63
-
+ // do nothing
64
} finally {
65
playerQueries.selectAll().executeAsFlow().toCollection(mutableListOf()).let {
66
assertContains(it, initialPlayer)
0 commit comments