Skip to content

Instantly share code, notes, and snippets.

@fmamud
Created October 13, 2016 21:24
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 fmamud/27804e90bcd53e4a29b951d2522e64e6 to your computer and use it in GitHub Desktop.
Save fmamud/27804e90bcd53e4a29b951d2522e64e6 to your computer and use it in GitHub Desktop.
Spock assert error
MySpec > should return 4 after list sum FAILED
Condition not satisfied:
4 == list.sum()
| | |
| [2] 2
false
at MySpec.should return 4 after list sum(MySpec.groovy:15)
1 test completed, 1 failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment