mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
13 lines
207 B
Groovy
13 lines
207 B
Groovy
class HelloSpock extends Specification {
|
|
def "length of Spock's and his friends' names"() {
|
|
expect:
|
|
name.size() == length
|
|
|
|
where:
|
|
name | length
|
|
"Spock" | 5
|
|
"Kirk" | 4
|
|
"Scotty" | 6
|
|
}
|
|
}
|