better-assert
better-assert copied to clipboard
Will not work for multiline expressions
As the regex is configured at the moment, it is not possible to have line breaks in the code that is to be asserted. This could be fixed either by adding a separate method for doing asserts on code with line breaks (if todays behavior is needed), or adapting the regex to accept line breaks.
Is this something that could be fixed?
@hanskhe sorry to reply you so late, I will look at this soon