fix: make NodeInfoTest Locale non-null

master
andrekir 2023-02-13 18:36:32 -03:00
rodzic 253a371988
commit 8a0b59a0d1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -13,7 +13,7 @@ class NodeInfoTest {
val ni2 = NodeInfo(5, MeshUser("+two", "User Two", "U2", model), Position(37.11, 121.1, 40))
val ni3 = NodeInfo(6, MeshUser("+three", "User Three", "U3", model), Position(37.101, 121.1, 40))
private val currentDefaultLocale = LocaleListCompat.getDefault().get(0)
private val currentDefaultLocale = LocaleListCompat.getDefault().get(0) ?: Locale.US
@Before
fun setup()