Menu

#49 Set IgnoreWhitespace as default for strings in Asserts.

Version 4 (Future)
open
nobody
5
2015-08-03
2015-08-03
No

String assertion failed:
expected: <"i= 1 f= F s=word x= 1.23">
but found: <“i= 1 f= F s=word x= 1.23">

I did not specify whiteSpace, and the only difference is in whitespace. Isn’t the default to ignore whitespace differences? - Tom

The default is TRIM_ALL, which is the legacy pFUnit behavior. I believe we wish to change this default behavior when we go to version 4. (I don’t think we had the whitespace option in version 2.) - Mike

Discussion


Log in to post a comment.