What steps will reproduce the problem? If possible, provide source code and
stack trace.
The following conditional leads to a compilation/transformation bug in Spock:
withWindow("windowName", close: true) {
waitFor { at FooPage }
assert foo.bar.isEmpty() == true;
assert foo.baz.isEmpty() == true;
assert foo.meh.isEmpty() == true;
}
The error reported is:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
Spec expression: 1: expecting '}', found 'assert' @ line 1, column 74.
tFor { at FooPage } assert foo
What version of Spock and Groovy are you using?
1.0-SNAPSHOT
Original issue reported on code.google.com by behran...@gmail.com on 1 Jul 2014 at 12:44
Original issue reported on code.google.com by
behran...@gmail.com
on 1 Jul 2014 at 12:44