Skip to content

Instantly share code, notes, and snippets.

@ishults
Last active December 16, 2015 20:04
Show Gist options
  • Save ishults/b15bf027e70188f963c0 to your computer and use it in GitHub Desktop.
Save ishults/b15bf027e70188f963c0 to your computer and use it in GitHub Desktop.
import spock.lang.Specification
class SampleSpec extends Specification {
def "example of power assert output"() {
when:
String first = 'The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.'
String second = '123The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog'
then:
assert [foo: first] == [foo: second]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment