mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Suppress deprecation warning for test.
This commit is contained in:
committed by
Benoit Marty
parent
f6a17ba42b
commit
fb16f3875d
+1
@@ -67,6 +67,7 @@ internal class AndroidLocationActionsTest {
|
|||||||
accuracy = 0f
|
accuracy = 0f
|
||||||
)
|
)
|
||||||
// Set a locale with comma as decimal separator
|
// Set a locale with comma as decimal separator
|
||||||
|
@Suppress("DEPRECATION")
|
||||||
Locale.setDefault(Locale.Category.FORMAT, Locale("pt", "BR"))
|
Locale.setDefault(Locale.Category.FORMAT, Locale("pt", "BR"))
|
||||||
|
|
||||||
val actual = buildUrl(location, "(weird/stuff here)", ::urlEncoder)
|
val actual = buildUrl(location, "(weird/stuff here)", ::urlEncoder)
|
||||||
|
|||||||
Reference in New Issue
Block a user