Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ignoresStyleChangeWhenAlreadyUsingTheGivenStyle (0.48 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/AbstractStyledTextOutputTest.groovy

            when:
            output.style(Style.Info).text('info test').style(Style.Normal)
    
            then:
            output.value == '{info}info test{normal}'
        }
    
        def ignoresStyleChangeWhenAlreadyUsingTheGivenStyle() {
            when:
            output.style(Style.Info).text('info test').style(Style.Info)
    
            then:
            output.value == '{info}info test'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top