Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testWriteLines_stream_separator (0.14 sec)

  1. android/guava-tests/test/com/google/common/io/CharSinkTest.java

        String separator = LINE_SEPARATOR.value();
        assertEquals("foo" + separator + "bar" + separator + "baz" + separator, sink.getString());
      }
    
      public void testWriteLines_stream_separator() throws IOException {
        sink.writeLines(ImmutableList.of("foo", "bar", "baz").stream(), "!");
        assertEquals("foo!bar!baz!", sink.getString());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top