feat(test): added not.toBeNull

This commit is contained in:
vsavkin 2015-05-30 11:54:10 -07:00
parent c8947d77bf
commit 74882c6c38
1 changed files with 1 additions and 0 deletions

View File

@ -114,6 +114,7 @@ class NotExpect extends gns.NotExpect {
void toEqual(expected) => toHaveSameProps(expected);
void toBePromise() => _expect(actual is Future, equals(false));
void toBeNull() => _expect(actual == null, equals(false));
Function get _expect => gns.guinness.matchers.expect;
}