Clean up TestCommand paraphenalia
This commit is contained in:
12
spring-boot-cli/samples/spock.groovy
Normal file
12
spring-boot-cli/samples/spock.groovy
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user