mirror of
https://github.com/bitwarden/android.git
synced 2026-11-19 17:40:12 -06:00
Add removeDiacritics helper method (#711)
This commit is contained in:
committed by
Álison Fernandes
parent
79bc483491
commit
3ec95b0ffd
@@ -98,4 +98,10 @@ class StringExtensionsTest {
|
||||
result,
|
||||
)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `removeDiacritics should remove diacritics from the string`() {
|
||||
val result = "áéíóů".removeDiacritics()
|
||||
assertEquals("aeiou", result)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user