mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Fix var-args warning in DownloadManagerTest
From Truth docs: "To test that the iterable contains the same elements as an array, prefer containsExactlyElementsIn(Object[]). It makes clear that the given array is a list of elements, not an element itself. This helps human readers and avoids a compiler warning." https://truth.dev/api/1.0.1/com/google/common/truth/IterableSubject.html#containsExactly-java.lang.Object...- PiperOrigin-RevId: 323367341
This commit is contained in:
parent
fda3b3d8ec
commit
67408ca7fb
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue