Skip to content

Instantly share code, notes, and snippets.

@Pyrolistical
Created January 31, 2014 19:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Pyrolistical/8741574 to your computer and use it in GitHub Desktop.
Save Pyrolistical/8741574 to your computer and use it in GitHub Desktop.
Spock framework VerifyError: (class: BuggedTest, method: $spock_feature_0_0 signature: ()V) Stack size too large bug
@Grab("org.spockframework:spock-core:0.7-groovy-2.0")
import spock.lang.Specification
class BuggedTest extends Specification {
def thing = []
def "repo the bug"() {
given:
thing.add([helperMethod()])
when:
thing.toString()
then:
thrown(AssertionError)
}
def helperMethod() {
null
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment