Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testTrailingHighSurrogate (0.34 seconds)

  1. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

        // Get the expected result string
        String expected = "x[" + min + "][" + s1 + "][" + s2 + "][" + s3 + "][" + max + "]x";
        assertThat(escapeAsString(e, test)).isEqualTo(expected);
      }
    
      public void testTrailingHighSurrogate() {
        String test = "abc" + Character.MIN_HIGH_SURROGATE;
        assertThrows(IllegalArgumentException.class, () -> escapeAsString(NOP_ESCAPER, test));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top