December 01, 2017 fluent-asserts 0.8.0 released | ||||
---|---|---|---|---|
| ||||
Hi, I just made some updates to fluent-asserts library. Since the last release I did: * use lazy parameters to test exceptions ``` /// instead of: ({ foo() }).should.throwAnyException; /// you can now use rewrite it like this: foo().should.throwAnyException; ``` the known issue is that you can not use this syntax for functions that return arrays or ranges... I'll try to fix this issue in a future release * .beNull for delegates * spaces between words are not replaced with special chars (for those who use trial) * compare immutable and const values with mutable values * .equal for objects * improved code results The library is starting to be more complex that I was expecting when I started the project, so any feedbak is appreciated. Also I want to thank to linkrope, ohdatboi and DiddiZ for the submitted issues. |
December 01, 2017 Re: fluent-asserts 0.8.0 released | ||||
---|---|---|---|---|
| ||||
Posted in reply to Szabo Bogdan | I forgot to add a link to the library... so if you are intrested about this you can find it here: https://code.dlang.org/packages/fluent-asserts |
Copyright © 1999-2021 by the D Language Foundation