Skip to content

Commit 576a3c8

Browse files
committed
fix: issue
1 parent 46e6093 commit 576a3c8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/PowerSyncTests/Kotlin/KotlinPowerSyncDatabaseImplTests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -445,27 +445,27 @@ final class KotlinPowerSyncDatabaseImplTests: XCTestCase {
445445

446446

447447
_ = try await database.writeTransaction { transaction in
448-
_ = transaction.execute(
448+
_ = try transaction.execute(
449449
sql: "INSERT INTO users (id, name, email) VALUES (?, ?, ?)",
450450
parameters: ["1", "Test User", "[email protected]"]
451451
)
452452

453-
_ = transaction.execute(
453+
_ = try transaction.execute(
454454
sql: "INSERT INTO tasks (id, user_id, description) VALUES (?, ?, ?)",
455455
parameters: ["1", "1", "task 1"]
456456
)
457457

458-
_ = transaction.execute(
458+
_ = try transaction.execute(
459459
sql: "INSERT INTO tasks (id, user_id, description) VALUES (?, ?, ?)",
460460
parameters: ["2", "1", "task 2"]
461461
)
462462

463-
_ = transaction.execute(
463+
_ = try transaction.execute(
464464
sql: "INSERT INTO comments (id, task_id, comment) VALUES (?, ?, ?)",
465465
parameters: ["1", "1", "comment 1"]
466466
)
467467

468-
_ = transaction.execute(
468+
_ = try transaction.execute(
469469
sql: "INSERT INTO comments (id, task_id, comment) VALUES (?, ?, ?)",
470470
parameters: ["2", "1", "comment 2"]
471471
)

0 commit comments

Comments
 (0)