gedaiu / fluent-asserts

DLang fluent assertions done right
http://fluentasserts.szabobogdan.com/
MIT License
43 stars 6 forks source link

improve be-null check to work for delegate #40

Closed linkrope closed 6 years ago

linkrope commented 6 years ago
void delegate() action = null;
action.should.beNull;

does not compile:

Error: no property 'beNull' for type 'ShouldCallable!(void delegate())'