Spock Web Console

subscribe to the feed Subscribe
Correct Snippet (via #spockwebconsole)
tweet this script Tweet

Correct Snippet

Published 4 months ago by Rahul
Actions  ➤ Edit In Console Back To Console Show/Hide Line Numbers View Recent Scripts
import spock.lang.*

// Hit 'Run Script' below
class MyFirstSpec extends Specification {
  def "let's try this!"() {
    expect:
    Math.max(1, 2) == 2
  }
}