Created
January 31, 2014 19:47
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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