Suppress deprecation warning for test.

This commit is contained in:
Benoit Marty 2025-08-12 14:23:01 +02:00 committed by Benoit Marty
parent f6a17ba42b
commit fb16f3875d

View file

@ -67,6 +67,7 @@ internal class AndroidLocationActionsTest {
accuracy = 0f
)
// Set a locale with comma as decimal separator
@Suppress("DEPRECATION")
Locale.setDefault(Locale.Category.FORMAT, Locale("pt", "BR"))
val actual = buildUrl(location, "(weird/stuff here)", ::urlEncoder)