Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Bad assertion message when using multi-line string literals with escaped initial new-line in assertion block #737
See the test case in this gist - there are 3 identical tests comparing strings. All tests are working, as in failing and passing when they should.
The problem is that the assertion messages are bad for the variants that have a multi-line string literal with escaped initial new-line in the assertion block (regardless whether using
The gist also has example of a good and bad assertion messages.
Additional Environment information
added a commit
Jun 24, 2017
The problem is that
def unit = SourceUnit.create("Spec expression", '"""foo""" == """\\bar"""') unit.parse() //fails