Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for preservesFormattingWithIndentedMultiline (0.2 sec)

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

            given:
            String content = "     test"
            when:
            def actual = UserGuideTransformTask.normalise(content)
    
            then:
            actual == "test"
        }
    
        def preservesFormattingWithIndentedMultiline() {
            given:
            String content = TextUtil.normaliseLineSeparators(
    """            sources {
                    cpp {
                        lib library: "hello"
                    }
    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