@@ -445,27 +445,27 @@ final class KotlinPowerSyncDatabaseImplTests: XCTestCase {
445
445
446
446
447
447
_ = try await database. writeTransaction { transaction in
448
- _ = transaction. execute (
448
+ _ = try transaction. execute (
449
449
sql: " INSERT INTO users (id, name, email) VALUES (?, ?, ?) " ,
450
450
parameters
: [ " 1 " , " Test User " , " [email protected] " ]
451
451
)
452
452
453
- _ = transaction. execute (
453
+ _ = try transaction. execute (
454
454
sql: " INSERT INTO tasks (id, user_id, description) VALUES (?, ?, ?) " ,
455
455
parameters: [ " 1 " , " 1 " , " task 1 " ]
456
456
)
457
457
458
- _ = transaction. execute (
458
+ _ = try transaction. execute (
459
459
sql: " INSERT INTO tasks (id, user_id, description) VALUES (?, ?, ?) " ,
460
460
parameters: [ " 2 " , " 1 " , " task 2 " ]
461
461
)
462
462
463
- _ = transaction. execute (
463
+ _ = try transaction. execute (
464
464
sql: " INSERT INTO comments (id, task_id, comment) VALUES (?, ?, ?) " ,
465
465
parameters: [ " 1 " , " 1 " , " comment 1 " ]
466
466
)
467
467
468
- _ = transaction. execute (
468
+ _ = try transaction. execute (
469
469
sql: " INSERT INTO comments (id, task_id, comment) VALUES (?, ?, ?) " ,
470
470
parameters: [ " 2 " , " 1 " , " comment 2 " ]
471
471
)
0 commit comments