Skip to content

Commit 0f0ee11

Browse files
code cleanup
1 parent 004dde9 commit 0f0ee11

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

Tests/PowerSyncTests/Kotlin/KotlinPowerSyncDatabaseImplTests.swift

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,14 @@ final class KotlinPowerSyncDatabaseImplTests: XCTestCase {
88
override func setUp() async throws {
99
try await super.setUp()
1010
schema = Schema(tables: [
11-
Table(name: "users", columns: [
12-
.text("name"),
13-
.text("email"),
14-
.text("photo_id")
15-
])
11+
Table(
12+
name: "users",
13+
columns: [
14+
.text("name"),
15+
.text("email"),
16+
.text("photo_id")
17+
]
18+
)
1619
])
1720

1821
database = KotlinPowerSyncDatabaseImpl(
@@ -577,7 +580,7 @@ final class KotlinPowerSyncDatabaseImplTests: XCTestCase {
577580

578581
try await database.writeTransaction { transaction in
579582
let userId = UUID().uuidString
580-
_ = try transaction.execute(
583+
try transaction.execute(
581584
sql: "INSERT INTO users (id, name, email) VALUES (?, ?, ?)",
582585
parameters: [userId, "Test User", "test@example.com"]
583586
)

0 commit comments

Comments
 (0)