Skip to content

Commit 50df648

Browse files
committed
Reformat
1 parent d76cf34 commit 50df648

File tree

11 files changed

+363
-288
lines changed

11 files changed

+363
-288
lines changed

Diff for: core/src/commonIntegrationTest/kotlin/com/powersync/sync/BaseInMemorySyncTest.kt

+5-5
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ abstract class BaseInMemorySyncTest {
5252
connector =
5353
mock<PowerSyncBackendConnector> {
5454
everySuspend { getCredentialsCached() } returns
55-
PowerSyncCredentials(
56-
token = "test-token",
57-
userId = "test-user",
58-
endpoint = "https://test.com",
59-
)
55+
PowerSyncCredentials(
56+
token = "test-token",
57+
userId = "test-user",
58+
endpoint = "https://test.com",
59+
)
6060

6161
everySuspend { invalidateCredentials() } returns Unit
6262
}

Diff for: core/src/commonIntegrationTest/kotlin/com/powersync/sync/SyncIntegrationTest.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import kotlin.test.assertTrue
2424
import kotlin.time.Duration.Companion.seconds
2525

2626
@OptIn(co.touchlab.kermit.ExperimentalKermitApi::class)
27-
class SyncIntegrationTest: BaseInMemorySyncTest() {
27+
class SyncIntegrationTest : BaseInMemorySyncTest() {
2828
private suspend fun expectUserCount(amount: Int) {
2929
val users = database.getAll("SELECT * FROM users;") { UserRow.from(it) }
3030
assertEquals(amount, users.size, "Expected $amount users, got $users")
@@ -379,4 +379,4 @@ class SyncIntegrationTest: BaseInMemorySyncTest() {
379379
database.close()
380380
syncLines.close()
381381
}
382-
}
382+
}

0 commit comments

Comments
 (0)