Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for usesUnixLineEndings (0.19 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/UserGuideTransformTaskTest.groovy

            String content = "test\ttest\ttest"
            when:
            def actual = UserGuideTransformTask.normalise(content)
    
            then:
            actual == "test    test    test"
        }
    
        def usesUnixLineEndings() {
            given:
            String content = "test\r\ntest\r\ntest"
            when:
            def actual = UserGuideTransformTask.normalise(content)
    
            then:
            actual == "test\ntest\ntest"
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jul 27 19:28:51 UTC 2021
    - 1.9K bytes
    - Viewed (0)
Back to top