Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseTrimsAsciiWhitespace (0.2 sec)

  1. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

        } catch (iae: IllegalArgumentException) {
          iae.printStackTrace()
          if (exceptionMessage != null) {
            assertThat(iae).hasMessage(exceptionMessage)
          }
        }
      }
    
      @Test
      fun parseTrimsAsciiWhitespace() {
        val expected = parse("http://host/")
        // Leading.
        assertThat(parse("http://host/\u000c\n\t \r")).isEqualTo(expected)
        // Trailing.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
Back to top