Spock Web Console

subscribe to the feed Subscribe
Spock Bug triggered by AST (via #spockwebconsole)
tweet this script Tweet

Spock Bug triggered by AST

Published 1 year ago by Colin Harrington with tags spock
Actions  ➤ Edit In Console Back To Console Show/Hide Line Numbers View Recent Scripts
import groovy.util.logging.Log
import spock.lang.Specification

class NimoyIssueSpec extends Specification {
    def "I think it is a spock bug"() {
            Closure sq = { x ->
                assert 1 == 1
                x * x
            sq(1) == 2