fbexpect icon indicating copy to clipboard operation
fbexpect copied to clipboard

A Hack library for writing unit tests expressively

Results 4 fbexpect issues
Sort by recently updated
recently updated
newest added

fixes #30 fixes #37 Fixes: - Fixes Ci - `->toHaveSameContents()` for unorderable sequences - Adds `->toBeOfType()`

CLA Signed

`->toHaveType()` takes magic strings like numeric. This can not be supported as a reified generic, so it is not a replacement perse. This would subsume `->toBeInstanceOf()`, but again, it is...

This is now a duplicate of `toBeEqual` The old `toBeEqual` is now `toBePHPEqual` refs hhvm/hsl-experimental#176

```HACK expect(vec[dict[], dict[]])->toHaveSameContentAs(vec[]); ``` ``` Cannot use relational comparison operators (=, ) to compare dicts /path/to/SomeTest.php:24 21| ... 22| ... 23| ... 24> expect(vec[dict[], dict[]])->toHaveSameContentAs(vec[]); ```