Suppress deprecation warning for test.
This commit is contained in:
parent
098ae0820e
commit
75b4a4ba9d
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue