blob: d6676ec27c7752fa4ce4929a545da47e1e3572fa [file] [log] [blame]
class HelloSpock extends spock.lang.Specification {
def "length of Spock's and his friends' names"() {
expect:
name.size() == length
where:
name | length
"Kirk" | 4 // a great guy
"Scotty" | 6
}
}
-----
class HelloSpock extends spock.lang.Specification {
def "length of Spock's and his friends' names"() {
expect:
name.size() == length
where:
name | length
"Kirk" | 4 // a great guy
"Scotty" | 6
}
}