Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for outOfBounds (0.04 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/idn/IdnaMappingTableTest.kt

        assertThat("≠".map()).isEqualTo("≠")
      }
    
      @Test fun disallowedStd3Mapped() {
        assertThat("\u00b8".map()).isEqualTo("\u0020\u0327")
        assertThat("⑴".map()).isEqualTo("(1)")
      }
    
      @Test fun outOfBounds() {
        assertFailsWith<IllegalArgumentException> {
          table.map(-1, Buffer())
        }
        table.map(0, Buffer()) // Lowest legal code point.
        table.map(0x10ffff, Buffer()) // Highest legal code point.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top