mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:05:28 +00:00
fix(deps): update dependency org.robolectric:robolectric to v4.15 (#4901)
* fix(deps): update dependency org.robolectric:robolectric to v4.15 * It seems that there's been some improvement on Robolectric 4.15 so this can be tested properly now. --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Benoit Marty <benoit@matrix.org>
This commit is contained in:
+1
-3
@@ -17,9 +17,7 @@ class FileExtensionExtractorWithValidationTest {
|
||||
@Test
|
||||
fun `test FileExtensionExtractor with validation OK`() {
|
||||
val sut = FileExtensionExtractorWithValidation()
|
||||
// The result should be txt, but with Robolectric,
|
||||
// MimeTypeMap.getSingleton().hasExtension() always returns false
|
||||
assertThat(sut.extractFromName("test.txt")).isEqualTo("bin")
|
||||
assertThat(sut.extractFromName("test.txt")).isEqualTo("txt")
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user