Skip to content

Commit

Permalink
fix code format
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeotic committed Sep 3, 2024
1 parent c1b4b82 commit 4236385
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tempest2/src/test/kotlin/app/cash/tempest2/LogicalDbBatchTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,12 @@ class LogicalDbBatchTest {
musicTable.playlistInfo.save(playlistInfo)

val loadedItems = musicDb.batchLoad(
keys = listOf( PlaylistInfo.Key("PLAYLIST_1"),
AlbumTrack.Key("ALBUM_1", track_number = 1),
AlbumTrack.Key("ALBUM_1", track_number = 2),
AlbumTrack.Key("ALBUM_1", track_number = 3)),
keys = listOf(
PlaylistInfo.Key("PLAYLIST_1"),
AlbumTrack.Key("ALBUM_1", track_number = 1),
AlbumTrack.Key("ALBUM_1", track_number = 2),
AlbumTrack.Key("ALBUM_1", track_number = 3)
),
consistentReads = true
)
assertThat(loadedItems.getItems<AlbumTrack>()).containsAll(albumTracks)
Expand Down

0 comments on commit 4236385

Please sign in to comment.