import spock.lang.Specification
class ExposeProblem extends Specification {
def "everything fine when comparison passes and has multi-string with backslash"() {
setup:
assert "#fooo" == """\
#fooo\
"""
}
def "MultipleCompilationErrorsException when comparison fails and has multi-string with backslash"() {
setup:
assert "fooo" == """\
bar\
"""
}
}
What version of Spock and Groovy are you using? Spock 0.7-groovy-1.8 and Groovy
1.8.9.
Original issue reported on code.google.com by etienne....@gradleware.com on 16 Oct 2014 at 6:15
Original issue reported on code.google.com by
etienne....@gradleware.com
on 16 Oct 2014 at 6:15