fluent-asserts 0.8.0 released

Szabo Bogdan szabobogdan3 at gmail.com
Fri Dec 1 11:57:54 UTC 2017


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.





More information about the Digitalmars-d-announce mailing list