Skip to content

Commit

Permalink
Fix a compilation error in BitmapTileGridGeneratorTest
Browse files Browse the repository at this point in the history
  • Loading branch information
saket committed Feb 16, 2024
1 parent 27e206d commit d1a6d13
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package me.saket.telephoto.subsamplingimage.internal
import androidx.compose.ui.unit.IntOffset
import androidx.compose.ui.unit.IntRect
import androidx.compose.ui.unit.IntSize
import assertk.assertFailure
import assertk.assertThat
import assertk.assertions.containsExactly
import assertk.assertions.isEmpty
Expand All @@ -20,7 +21,7 @@ import kotlin.time.measureTime
class BitmapTileGridGeneratorTest {

@Test fun `empty canvas size`() {
assertThrows {
assertFailure {
BitmapRegionTileGrid.generate(
canvasSize = IntSize(1080, 0),
unscaledImageSize = IntSize(10, 10),
Expand Down

0 comments on commit d1a6d13

Please sign in to comment.