Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for formatsException (0.21 sec)

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

        }
    
        def formatsTextAndEndOfLine() {
            when:
            output.formatln('[%s]', 'message')
    
            then:
            output.value == '[message]\n'
        }
    
        def formatsException() {
            when:
            output.exception(new RuntimeException('broken'))
    
            then:
            output.value == 'java.lang.RuntimeException: broken\n{stacktrace}\n'
        }
    
    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