Skip to content

Commit

Permalink
Fix strange ArrayList bug
Browse files Browse the repository at this point in the history
  • Loading branch information
szabado-faire committed Apr 2, 2024
1 parent f1fa4e2 commit e5cb172
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ class LogicalDbBatchTest {

val loadedItems = musicDb.batchLoad(
PlaylistInfo.Key("PLAYLIST_1"),
albumTracks.map { AlbumTrack.Key("ALBUM_1", track_number = it.track_number) }
*(albumTracks.map { AlbumTrack.Key("ALBUM_1", track_number = it.track_number) }.toTypedArray())
)
assertThat(loadedItems.getItems<AlbumTrack>()).containsExactlyInAnyOrderElementsOf(albumTracks)
assertThat(loadedItems.getItems<PlaylistInfo>()).containsExactly(playlistInfo)
Expand Down

0 comments on commit e5cb172

Please sign in to comment.