Skip to content

Commit 93316f9

Browse files
committed
update WiFiChannelCountryTest to use locale-specific display country name
1 parent 58fda6a commit 93316f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/test/kotlin/com/vrem/wifianalyzer/wifi/band/WiFiChannelCountryTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class WiFiChannelCountryTest {
3333
val expected = Locale.US
3434
val actual = WiFiChannelCountry.find(expected.country)
3535
assertThat(actual.countryCode).isEqualTo(expected.country)
36-
assertThat(actual.countryName(expected)).isEqualTo(expected.displayCountry)
36+
assertThat(actual.countryName(expected)).isEqualTo(expected.getDisplayCountry(expected))
3737
}
3838

3939
@Test

0 commit comments

Comments
 (0)