diff --git a/library/core/src/test/java/com/google/android/exoplayer2/offline/DownloadManagerTest.java b/library/core/src/test/java/com/google/android/exoplayer2/offline/DownloadManagerTest.java index de1c35ed49..329b80dfea 100644 --- a/library/core/src/test/java/com/google/android/exoplayer2/offline/DownloadManagerTest.java +++ b/library/core/src/test/java/com/google/android/exoplayer2/offline/DownloadManagerTest.java @@ -909,7 +909,7 @@ public class DownloadManagerTest { } public void assertStreamKeys(StreamKey... streamKeys) { - assertThat(request.streamKeys).containsExactly(streamKeys); + assertThat(request.streamKeys).containsExactlyElementsIn(streamKeys); } public void assertDownloadStarted() throws InterruptedException {