mirror of
https://github.com/androidx/media.git
synced 2025-05-04 14:10:40 +08:00
Fix non-updated constructor usage
Fix a constructor usage that tried to use an array instead of a list.
This commit is contained in:
parent
6dd20ed13a
commit
46f376e40b
@ -107,7 +107,7 @@ public class MetadataRendererTest {
|
||||
assertThat(metadata).hasSize(1);
|
||||
assertThat(metadata.get(0).length()).isEqualTo(1);
|
||||
TextInformationFrame expectedId3Frame =
|
||||
new TextInformationFrame("TXXX", "Test description", new String[] { "Test value" });
|
||||
new TextInformationFrame("TXXX", "Test description", Collections.singletonList("Test value"));
|
||||
assertThat(metadata.get(0).get(0)).isEqualTo(expectedId3Frame);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user