mirror of
https://github.com/signalapp/libsignal.git
synced 2024-09-20 03:52:17 +02:00
Use ResourceReader in test
This commit is contained in:
parent
671febbde8
commit
0b7d2856fe
@ -38,9 +38,8 @@ public class ComparableBackupTest {
|
||||
assertEquals(
|
||||
backup.getComparableString(),
|
||||
new String(
|
||||
ComparableBackupTest.class
|
||||
.getResourceAsStream(CANONICAL_BACKUP_STRING_NAME)
|
||||
.readAllBytes(),
|
||||
ResourceReader.readAll(
|
||||
ComparableBackupTest.class.getResourceAsStream(CANONICAL_BACKUP_STRING_NAME)),
|
||||
StandardCharsets.UTF_8));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user