Spock Web Console

subscribe to the feed Subscribe
assert list (via #spockwebconsole)
tweet this script Tweet

assert list

Published 1 year ago by Anonymous
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!"() {
    given:
    def actual = [1, 2, 3]
    def expected = [1, 2, 3]

    expect:
    actual == expected
  }
}