Skip to content

Commit a99e791

Browse files
committed
Fix progress test
1 parent 0a92db7 commit a99e791

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/src/commonTest/kotlin/com/powersync/sync/ProgressTest.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import kotlin.test.assertEquals
66
class ProgressTest {
77
@Test
88
fun reportsFraction() {
9-
assertEquals(0.0, ProgressWithOperations(0, 10).fraction)
10-
assertEquals(0.5, ProgressWithOperations(5, 10).fraction)
11-
assertEquals(1.0, ProgressWithOperations(10, 10).fraction)
9+
assertEquals(0.0f, ProgressWithOperations(0, 10).fraction)
10+
assertEquals(0.5f, ProgressWithOperations(5, 10).fraction)
11+
assertEquals(1.0f, ProgressWithOperations(10, 10).fraction)
1212

13-
assertEquals(0.0, ProgressWithOperations(0, 0).fraction)
13+
assertEquals(0.0f, ProgressWithOperations(0, 0).fraction)
1414
}
1515
}

0 commit comments

Comments
 (0)