Spock Web Console

subscribe to the feed Subscribe
Multiline method names (via #spockwebconsole)
tweet this script Tweet

Multiline method names

Published 9 years ago by HamletDRC
Actions  ➤ Edit In Console Back To Console Show/Hide Line Numbers View Recent Scripts
class Whoa extends spock.lang.Specification {
    def """Did you know that the JVM
           allows really long method names
           that span multiple lines and 
           contain punctuation?"""() {

        expect:
        your_mind_is_blown

        where:
        your_mind_is_blown = true
    }
}