Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testEmptyLinesWithTrailingEOL (0.43 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/LineFilterTest.groovy

            def lineCount = 1
            def filter = new LineFilter(input, { "${lineCount++} - $it" as String })
    
            assertThat(filter.text, equalTo(""))
        }
    
        @Test void testEmptyLinesWithTrailingEOL() {
            def input = new StringReader("\n\n")
            def lineCount = 1
            def filter = new LineFilter(input, { "${lineCount++} - $it" as String })
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 19 19:02:02 UTC 2021
    - 3.3K bytes
    - Viewed (0)
Back to top