Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for canonicalizeInetAddressNotMapped (0.15 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt

     * limitations under the License.
     */
    package okhttp3.internal
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import kotlin.test.Test
    
    class HostnamesTest {
      @Test
      fun canonicalizeInetAddressNotMapped() {
        val addressA = decodeIpv6("::1")!!
        assertThat(canonicalizeInetAddress(addressA)).isEqualTo(addressA)
    
        val addressB = byteArrayOf(127, 0, 0, 1)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 5.1K bytes
    - Click Count (0)
Back to Top