Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testPadEnd_noPadding (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/base/StringsTest.java

      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testPadStart_null() {
        assertThrows(NullPointerException.class, () -> Strings.padStart(null, 5, '0'));
      }
    
      public void testPadEnd_noPadding() {
        assertThat(Strings.padEnd("", 0, '-')).isSameInstanceAs("");
        assertThat(Strings.padEnd("x", 0, '-')).isSameInstanceAs("x");
        assertThat(Strings.padEnd("x", 1, '-')).isSameInstanceAs("x");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
Back to Top