You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Multiple Assignment in when: and anything in cleanup: #493
What steps will reproduce the problem? If possible, provide source code and
stack trace.
1. use multiple assignment in when:
2. put anything in cleanup:
What version of Spock and Groovy are you using?
spock-core v0.7-groovy-2.0
gmavenplus-plugin v1.2
groovy v2.3.3
java v1.7.0_60
Please provide any additional information below. You can also assign
labels.
import spock.lang.Specification
class ListReturnExample extends Specification {
def "no worky" ()
{
when:
def (String foo, int bar) = ["foo", 42] // problem line
def baz = "baz"
then:
true
cleanup:
println "cleanup"
}
}
Activity
robfletcher commentedon Aug 30, 2015
Reported by
pniederwon 2014-07-20 09:30:12Fixed