sreedharkesarla / spock

Automatically exported from code.google.com/p/spock
0 stars 0 forks source link

cleanup block causes exception #266

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
*What steps will reproduce the problem?*

The existence of a cleanup block may cause a casting exception while executing 
the where block (As reported in 
http://groups.google.com/group/spockframework/browse_frm/thread/c0d532c4f8041d60
 )

A script that shows this behavior
http://meetspock.appspot.com/edit/62001

The same script with a small change that cause the exception to disappear
http://meetspock.appspot.com/edit/63001

*What version of Spock and Groovy are you using?*
Groovy 1.8 and Spock 0.6

Original issue reported on code.google.com by xver...@gmail.com on 8 Sep 2012 at 5:05

GoogleCodeExporter commented 8 years ago

Original comment by pnied...@gmail.com on 9 Sep 2012 at 2:58